fix(core): update
This commit is contained in:
parent
dd8c30e7cf
commit
d0c6ebb0df
@ -1,2 +1,3 @@
|
|||||||
import plugins = require('./tools.plugins');
|
import plugins = require('./tools.plugins');
|
||||||
import * as cli from './tools.cli';
|
import * as cli from './tools.cli';
|
||||||
|
cli.run();
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
import * as plugins from './tools.plugins';
|
import * as plugins from './tools.plugins';
|
||||||
import * as toolsInstall from './tools.install';
|
import * as toolsInstall from './tools.install';
|
||||||
|
|
||||||
|
export const run = async () => {
|
||||||
const toolsCli = new plugins.smartcli.Smartcli();
|
const toolsCli = new plugins.smartcli.Smartcli();
|
||||||
|
|
||||||
toolsCli.addCommand('install').subscribe(async argvArg => {
|
toolsCli.addCommand('install').subscribe(async argvArg => {
|
||||||
@ -9,3 +10,4 @@ toolsCli.addCommand('install').subscribe(async argvArg => {
|
|||||||
|
|
||||||
toolsCli.addVersion('no version set');
|
toolsCli.addVersion('no version set');
|
||||||
toolsCli.startParse();
|
toolsCli.startParse();
|
||||||
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user