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,11 +1,13 @@
|
|||||||
import * as plugins from './tools.plugins';
|
import * as plugins from './tools.plugins';
|
||||||
import * as toolsInstall from './tools.install';
|
import * as toolsInstall from './tools.install';
|
||||||
|
|
||||||
const toolsCli = new plugins.smartcli.Smartcli();
|
export const run = async () => {
|
||||||
|
const toolsCli = new plugins.smartcli.Smartcli();
|
||||||
|
|
||||||
toolsCli.addCommand('install').subscribe(async argvArg => {
|
toolsCli.addCommand('install').subscribe(async argvArg => {
|
||||||
toolsInstall.install('default');
|
toolsInstall.install('default');
|
||||||
});
|
});
|
||||||
|
|
||||||
toolsCli.addVersion('no version set');
|
toolsCli.addVersion('no version set');
|
||||||
toolsCli.startParse();
|
toolsCli.startParse();
|
||||||
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user