introduce new classes

This commit is contained in:
Philipp Kunz 2016-06-13 12:56:42 +02:00
parent 088d4ef11b
commit ab18c75b28
4 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,6 @@
import "typings-global";
import * as plugins from "./smartcli.plugins";
export class Command {
}

View File

@ -0,0 +1,6 @@
import "typings-global";
import * as plugins from "./smartcli.plugins";
export class Command {
}

View File

@ -25,7 +25,7 @@ export class Smartcli {
if (this.argv._.indexOf(definitionArg.commandName) == 0) {
done.resolve(this.argv);
} else {
return done.reject();
done.reject(this.argv);
}
});
return done.promsise;