code: function getAppContextFromArgv(apps) {
    return Promise.try(function() {
      return _.find(apps, function(app) {
        return app.name === argv.payload[0];
      });
    });
  }
docs: /*
  Try to find app context from command line payload.