return argv to command
This commit is contained in:
parent
506bb0cdaf
commit
d65061aaaa
@ -23,7 +23,7 @@ export class Smartcli {
|
||||
this.parseStarted.promise
|
||||
.then(() => {
|
||||
if (this.argv._.indexOf(definitionArg.commandName) == 0) {
|
||||
done.resolve();
|
||||
done.resolve(this.argv);
|
||||
} else {
|
||||
return done.reject();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user