config.js
function loadConfig() {
  underload('whitelist', 'whitelist.file');

  if (!program['bower'] && config.has('packages.type') && config.get('packages.type') == 'bower') {
    program['bower'] = true;
  }

  if (!program['noNode'] && config.has('packages.withNode') && config.get('packages.withNode') == false) {
    program['noNode'] = true;
  }

  underload('package', 'packages.file');

  underload('level', 'logging.level');
  underload('quiet', 'logging.quiet');
  underload('verbose', 'logging.verbose');

  underload('scheme', 'server.scheme');
  underload('host', 'server.host');
  underload('port', 'server.port');

  underload('cacheDir', 'cache.path');

  underload('cacheTimeout', 'cache.timeout')

  underload('username', 'auth.user');
  underload('token', 'auth.token');
}
function loadConfig() {
  underload('whitelist', 'whitelist.file');

  if (!program['bower'] && config.has('packages.type') && config.get('packages.type') == 'bower') {
    program['bower'] = true;
  }

  if (!program['noNode'] && config.has('packages.withNode') && config.get('packages.withNode') == false) {
    program['noNode'] = true;
  }

  underload('package', 'packages.file');

  underload('level', 'logging.level');
  underload('quiet', 'logging.quiet');
  underload('verbose', 'logging.verbose');

  underload('scheme', 'server.scheme');
  underload('host', 'server.host');
  underload('port', 'server.port');

  underload('cacheDir', 'cache.path');

  underload('cacheTimeout', 'cache.timeout')

  underload('username', 'auth.user');
  underload('token', 'auth.token');
}
function loadConfig ( ) { underload ( 'whitelist' , 'whitelist.file' ) ; if ( ! program [ 'bower' ] && config . has ( 'packages.type' ) && config . get ( 'packages.type' ) == 'bower' ) { program [ 'bower' ] = true ; } if ( ! program [ 'noNode' ] && config . has ( 'packages.withNode' ) && config . get ( 'packages.withNode' ) == false ) { program [ 'noNode' ] = true ; } underload ( 'package' , 'packages.file' ) ; underload ( 'level' , 'logging.level' ) ; underload ( 'quiet' , 'logging.quiet' ) ; underload ( 'verbose' , 'logging.verbose' ) ; underload ( 'scheme' , 'server.scheme' ) ; underload ( 'host' , 'server.host' ) ; underload ( 'port' , 'server.port' ) ; underload ( 'cacheDir' , 'cache.path' ) ; underload ( 'cacheTimeout' , 'cache.timeout' ) underload ( 'username' , 'auth.user' ) ; underload ( 'token' , 'auth.token' ) ; }
Load configuration information from the specified file. Command line
overrides all file configuration.
Load configuration information from the specified file . Command line overrides all file configuration .