fix(core): update
This commit is contained in:
		@@ -3,6 +3,6 @@
 | 
			
		||||
 */
 | 
			
		||||
export const commitinfo = {
 | 
			
		||||
  name: '@pushrocks/smartcli',
 | 
			
		||||
  version: '4.0.5',
 | 
			
		||||
  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