Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
5f027430bf | |||
d3385782ed | |||
7384b54e09 | |||
0eac72e15d |
1381
package-lock.json
generated
1381
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@pushrocks/smartcli",
|
||||
"private": false,
|
||||
"version": "4.0.4",
|
||||
"version": "4.0.6",
|
||||
"description": "easy observable cli tasks",
|
||||
"main": "dist_ts/index.js",
|
||||
"typings": "dist_ts/index.d.ts",
|
||||
@ -33,9 +33,7 @@
|
||||
"@pushrocks/smartparam": "^1.1.6",
|
||||
"@pushrocks/smartpromise": "^3.1.3",
|
||||
"@pushrocks/smartrx": "^2.0.25",
|
||||
"@types/yargs": "^17.0.10",
|
||||
"@types/yargs-parser": "^21.0.0",
|
||||
"yargs-parser": "^21.0.1"
|
||||
"yargs-parser": "21.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@gitzone/tsbuild": "^2.1.25",
|
||||
|
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@pushrocks/smartcli',
|
||||
version: '4.0.4',
|
||||
version: '4.0.6',
|
||||
description: 'easy observable cli tasks'
|
||||
}
|
||||
|
@ -134,7 +134,7 @@ export class Smartcli {
|
||||
console.log(this.version || 'unknown version');
|
||||
return;
|
||||
}
|
||||
|
||||
console.log(`Wanted command: ${wantedCommand}`);
|
||||
for (const command of this.commandObservableMap.getArray()) {
|
||||
if (!wantedCommand) {
|
||||
const standardCommand = this.commandObservableMap.findSync((commandArg) => {
|
||||
@ -147,7 +147,6 @@ export class Smartcli {
|
||||
}
|
||||
break;
|
||||
}
|
||||
console.log(`Wanted command: ${wantedCommand}`);
|
||||
if (command.commandName === parsedYArgs._[0]) {
|
||||
command.subject.next(parsedYArgs);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user