Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
74c0d537cc | |||
c4706e96cb | |||
628b86cf3d | |||
d0c6ebb0df |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@gitzone/tools",
|
"name": "@gitzone/tools",
|
||||||
"version": "2.0.8",
|
"version": "2.0.10",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@gitzone/tools",
|
"name": "@gitzone/tools",
|
||||||
"version": "2.0.8",
|
"version": "2.0.10",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "setup your environment with the most important tools and update them easily.",
|
"description": "setup your environment with the most important tools and update them easily.",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
@ -6,7 +6,8 @@
|
|||||||
"@gitzone/tsrun",
|
"@gitzone/tsrun",
|
||||||
"@gitzone/tsdocker",
|
"@gitzone/tsdocker",
|
||||||
"snyk",
|
"snyk",
|
||||||
"npm-check"
|
"npm-check",
|
||||||
|
"@losslessone_private/lole"
|
||||||
]
|
]
|
||||||
|
|
||||||
}
|
}
|
@ -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();
|
||||||
|
};
|
||||||
|
Reference in New Issue
Block a user