small update

This commit is contained in:
Phil Kunz 2015-10-07 01:16:15 +02:00
parent ce1dde6d54
commit 05595ac997

View File

@ -39,7 +39,14 @@ smartcli.checkOption = function(optionParam:string):boolean {
return true;
}
return false
}
};
smartcli.getOptionValue = function(optionParam:string):any {
if (smartcli.checkOption(optionParam)) {
return argv[optionParam]
}
return false;
};
smartcli.getOptions = function() {
var options = {};