diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 5aa9c34..771931d 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@pushrocks/smartcli', - version: '4.0.5', + version: '4.0.6', description: 'easy observable cli tasks' } diff --git a/ts/smartcli.classes.smartcli.ts b/ts/smartcli.classes.smartcli.ts index dcea4b2..c5d74de 100644 --- a/ts/smartcli.classes.smartcli.ts +++ b/ts/smartcli.classes.smartcli.ts @@ -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;