tools/ts/npmg.cli.ts
2017-06-04 23:12:18 +02:00

11 lines
304 B
TypeScript

import * as plugins from './npmg.plugins'
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()
}