tools/ts/npmg.cli.ts

11 lines
304 B
TypeScript
Raw Normal View History

2017-05-28 18:03:40 +00:00
import * as plugins from './npmg.plugins'
2017-06-04 21:12:18 +00:00
import * as npmgInstall from './npmg.install'
2017-05-28 18:03:40 +00:00
let npmgSmartcli = new plugins.smartcli.Smartcli()
export let run = async () => {
npmgSmartcli.addCommand('install').then(async (argvArg) => {
2017-06-04 21:12:18 +00:00
npmgInstall.install('default')
2017-05-28 18:03:40 +00:00
})
2017-06-04 21:12:18 +00:00
npmgSmartcli.startParse()
2017-05-28 18:03:40 +00:00
}