tools/ts/tools.cli.ts
2019-06-17 10:26:26 +02:00

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();