feat(core): new tools scope
This commit is contained in:
11
ts/tools.cli.ts
Normal file
11
ts/tools.cli.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import * as plugins from './tools.plugins';
|
||||
import * as toolsInstall from './tools.install';
|
||||
|
||||
let npmgSmartcli = new plugins.smartcli.Smartcli();
|
||||
|
||||
npmgSmartcli.addCommand('install').subscribe(async argvArg => {
|
||||
toolsInstall.install('default');
|
||||
});
|
||||
|
||||
npmgSmartcli.addVersion('no version set');
|
||||
npmgSmartcli.startParse();
|
||||
Reference in New Issue
Block a user