diff --git a/src/cli/cli.js b/src/cli/cli.js index 8c482da..0ea5671 100644 --- a/src/cli/cli.js +++ b/src/cli/cli.js @@ -16,6 +16,9 @@ import runGenerate from './commands/generate'; import runMigrate from './commands/migrate'; export default function cli(args: string[]) { + if (!args.length) + args = ['--help']; + yargs(args) .command( 'add',