Compare commits

..

6 Commits

Author SHA1 Message Date
643514c64a 1.0.4 2016-06-22 11:55:26 +02:00
19498f7b11 compile fix 2016-06-22 11:55:23 +02:00
3afadd9045 1.0.3 2016-06-22 11:54:19 +02:00
0889423a24 fix 2016-06-22 11:54:12 +02:00
86b4cf4cc3 add getCommandPromise 2016-06-22 01:21:09 +02:00
4cb4eabef4 update deps and transition from npmts to npmts-g 2016-06-22 01:18:04 +02:00
4 changed files with 14 additions and 7 deletions

View File

@ -11,6 +11,7 @@ export declare class Smartcli {
addCommand(definitionArg: {
commandName: string;
}): any;
getCommandPromise(commandNameArg: any): void;
addQuestion(definitionArg: {
questionString: string;
questionType: string;

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "smartcli",
"version": "1.0.2",
"version": "1.0.4",
"description": "nodejs wrapper for CLI related tasks",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
@ -28,7 +28,7 @@
},
"homepage": "https://gitlab.com/pushrocks/smartcli",
"dependencies": {
"beautylog": "^5.0.8",
"beautylog": "^5.0.12",
"cliff": "^0.1.10",
"inquirer": "^1.0.3",
"q": "^1.4.1",
@ -37,8 +37,8 @@
"yargs": "^4.7.1"
},
"devDependencies": {
"npmts": "^5.2.5",
"should": "^9.0.1",
"npmts-g": "^5.2.6",
"should": "^9.0.2",
"typings-test": "^1.0.1"
}
}

View File

@ -28,8 +28,11 @@ export class Smartcli {
done.reject(this.argv);
}
});
return done.promsise;
return done.promise;
};
getCommandPromise(commandNameArg){
//TODO
}
addQuestion(definitionArg:{questionString:string,questionType:string}){
};