docs: function Cli(opts) {
    _.extend(this, {
      logger: require('./logger'),
      Interview: require('./interview'),
      service: Service,
      rimraf: require('rimraf'),
      yargs: require('yargs'), // overridable parsed arguments.
      takenFlags: [],
      commands: {
        'install': "ask user about environment variables and install service.",
        'start': "start all, or a specific service.",
        'stop': "stop all, or a specific service.",
        'restart': "restart all, or a specific service.",
        'remove': "remove OS-specific daemon wrappers.",
        'init': "create the ndm service.json.",
        'generate': "generate OS-specific daemon wrappers.",
        'update': "update service.json with new services.",
        'list': "list all services availble in service.json",
        'interview': "ask the user to fill in missing fields in service.json",
        'run-script': "run script with env and args from service.json",
        'list-scripts': "list all the scripts provided by ndm services",
        'version': "print the current version of ndm that is installed"
      }
    }, opts);
  }