lib/command/server/command.js
function execute(req, res) {
  if(req.info.command.sub) {
    this.delegate(req, res);
  // no subcommand return command list
  }else{
    var list = getList.call(this);
    return res.send(null, list);
  }
}
function execute(req, res) {
  if(req.info.command.sub) {
    this.delegate(req, res);
  // no subcommand return command list
  }else{
    var list = getList.call(this);
    return res.send(null, list);
  }
}
function execute ( req , res ) { if ( req . info . command . sub ) { this . delegate ( req , res ) ; // no subcommand return command list } else { var list = getList . call ( this ) ; return res . send ( null , list ) ; } }
Respond to the COMMAND command.
Respond to the COMMAND command .