12 lines
307 B
TypeScript
12 lines
307 B
TypeScript
import * as plugins from './tools.plugins';
|
|
import * as toolsInstall from './tools.install';
|
|
|
|
const toolsCli = new plugins.smartcli.Smartcli();
|
|
|
|
toolsCli.addCommand('install').subscribe(async argvArg => {
|
|
toolsInstall.install('default');
|
|
});
|
|
|
|
toolsCli.addVersion('no version set');
|
|
toolsCli.startParse();
|