return argv to command

This commit is contained in:
Philipp Kunz 2016-06-10 04:21:03 +02:00
parent 506bb0cdaf
commit d65061aaaa

View File

@ -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();
} }