create-app: avoid printing help
This commit is contained in:
committed by
Fredrik Adelöw
parent
e031a06e1e
commit
410bd7cab1
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user