Skip to content

Commit

Permalink
fix: straight to alpha, address running without commands
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthHater committed Jan 23, 2020
1 parent b1b25fb commit e1a9fc5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ let argv = yargs
.argv;

if (argv) {
if (argv._[0] == undefined) {
yargs.showHelp();
process.exit(0);
}
if (argv._[0] == 'config') {
let config = new AppConfig();

Expand Down

0 comments on commit e1a9fc5

Please sign in to comment.