create-app: avoid printing help

This commit is contained in:
Patrik Oldsberg
2020-08-05 20:25:40 +02:00
committed by Fredrik Adelöw
parent e031a06e1e
commit 410bd7cab1
-5
View File
@@ -15,7 +15,6 @@
*/
import program from 'commander';
import chalk from 'chalk';
import { exitWithError } from './lib/errors';
import { version } from '../package.json';
import createApp from './createApp';
@@ -31,10 +30,6 @@ const main = (argv: string[]) => {
)
.action(createApp);
if (!process.argv.slice(2).length) {
program.outputHelp(chalk.yellow);
}
program.parse(argv);
};