docs: function getAppContextFromCwd(apps) {
    return Promise.try(function() {
      var cwd = process.cwd();
      return _.find(apps, function(app) {
        var appRoot = app.config.appRoot;
        if (cwd.replace(appRoot, '') === cwd) {
          return false;
        }
        var diff = cwd.replace(appRoot, '').substring(0, 1);
        return (!diff || diff === path.sep) ? true : false;
      });
    });
  }