implement standardJS

This commit is contained in:
2016-10-15 00:56:02 +02:00
parent 7ca18c4a46
commit 7833bd0be8
17 changed files with 152 additions and 162 deletions

View File

@@ -43,5 +43,8 @@ mySmartcli.standardTask()
// do something if program is called without an command
});
mySmartcli.question
mySmartcli.addCommand({commandname: 'install'})
.then(argvArg => {
// do something if program is called with command "install"
})
```