fix: missing app command args
This commit is contained in:
		
							parent
							
								
									ce52361ac4
								
							
						
					
					
						commit
						ab28a2be4c
					
				@ -132,12 +132,12 @@ export class Application<StateT = DefaultState, ContextT = DefaultContext> exten
 | 
				
			|||||||
    return this.resourcer.registerActions(handlers);
 | 
					    return this.resourcer.registerActions(handlers);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  command(nameAndArgs: string, opts?: CommandOptions) {
 | 
					  command(name: string, desc?: string, opts?: CommandOptions): Command {
 | 
				
			||||||
    return this.cli.command(nameAndArgs, opts);
 | 
					    return this.cli.command(name, desc, opts);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  findCommand(name: string): Command {
 | 
					  findCommand(name: string): Command {
 | 
				
			||||||
    return (this.cli as any)._findCommand(name);
 | 
					    return this.cli._findCommand(name);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  async load() {
 | 
					  async load() {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user