function exit(error, help = false) { console.log(chalk.red.bold(error)); if (help) showHelp(); process.exit(1); }
if (command === 'help') { showHelp(); } else if (command === 'init') { return initProject({name: argv['template-name']});
function exit(error, help = false) { console.log(chalk.red.bold(error)); if (help) showHelp(); process.exit(1); }
if (command === 'help') { showHelp(); } else if (command === 'init') { return initProject({name: argv['template-name']});