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