update cli

This commit is contained in:
2017-06-04 23:12:18 +02:00
parent 551287d34d
commit 87c1a9a29d
4 changed files with 49 additions and 4 deletions

View File

@ -1,10 +1,11 @@
import * as plugins from './npmg.plugins'
import * as install from './npmg.install'
import * as npmgInstall from './npmg.install'
let npmgSmartcli = new plugins.smartcli.Smartcli()
export let run = async () => {
npmgSmartcli.addCommand('install').then(async (argvArg) => {
npmgInstall.install('default')
})
npmgSmartcli.startParse()
}