mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-23 12:11:16 +00:00
If no arguments are passed to embark, then display help by default
This commit is contained in:
parent
97de27e0c2
commit
e6d998fd1a
@ -16,6 +16,12 @@ Cmd.prototype.process = function(args) {
|
||||
this.test();
|
||||
this.upload();
|
||||
this.otherCommands();
|
||||
|
||||
//If no arguments are passed display help by default
|
||||
if (!process.argv.slice(2).length) {
|
||||
program.help();
|
||||
}
|
||||
|
||||
program.parse(args);
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user