tools/ts/tools.cli.ts

12 lines
307 B
TypeScript
Raw Normal View History

2018-06-07 20:41:25 +00:00
import * as plugins from './tools.plugins';
import * as toolsInstall from './tools.install';
2019-06-17 08:26:26 +00:00
const toolsCli = new plugins.smartcli.Smartcli();
2018-06-07 20:41:25 +00:00
2019-06-17 08:26:26 +00:00
toolsCli.addCommand('install').subscribe(async argvArg => {
2018-06-07 20:41:25 +00:00
toolsInstall.install('default');
});
2019-06-17 08:26:26 +00:00
toolsCli.addVersion('no version set');
toolsCli.startParse();