index.js
function processArgv(argv) {
  let command = getCommand(argv);
  let isInternalCommand = true;

  logger.info(`SKY UX processing command ${command}`);

  switch (command) {
    case 'version':
      require('./lib/version').logVersion(argv);
      break;
    case 'new':
      require('./lib/new')(argv);
      break;
    case 'help':
      require('./lib/help')(argv);
      break;
    case 'install':
      require('./lib/install')(argv);
      break;
    default:
      isInternalCommand = false;
  }

  invokeCommand(command, argv, isInternalCommand);
}
function processArgv(argv) {
  let command = getCommand(argv);
  let isInternalCommand = true;

  logger.info(`SKY UX processing command ${command}`);

  switch (command) {
    case 'version':
      require('./lib/version').logVersion(argv);
      break;
    case 'new':
      require('./lib/new')(argv);
      break;
    case 'help':
      require('./lib/help')(argv);
      break;
    case 'install':
      require('./lib/install')(argv);
      break;
    default:
      isInternalCommand = false;
  }

  invokeCommand(command, argv, isInternalCommand);
}
function processArgv ( argv ) { let command = getCommand ( argv ) ; let isInternalCommand = true ; logger . info ( ` ${ command } ` ) ; switch ( command ) { case 'version' : require ( './lib/version' ) . logVersion ( argv ) ; break ; case 'new' : require ( './lib/new' ) ( argv ) ; break ; case 'help' : require ( './lib/help' ) ( argv ) ; break ; case 'install' : require ( './lib/install' ) ( argv ) ; break ; default : isInternalCommand = false ; } invokeCommand ( command , argv , isInternalCommand ) ; }
Processes an argv object.
Reads package.json if it exists.
@name processArgv
@param [Object] argv
Processes an argv object . Reads package . json if it exists .