add version commandline option

This commit is contained in:
2016-06-24 02:54:55 +02:00
parent 57fe78c673
commit 0f0eaf4c4f
5 changed files with 36 additions and 7 deletions

View File

@@ -23,6 +23,7 @@ let command;
let commandOption:string;
plugins.commander
.version(npmciInfo.version)
.arguments('<commandarg> [commandoptionarg]')
.action(function (commandarg, commandoptionarg) {
command = commandarg;