mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 13:26:44 +00:00
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);
|
||||
}
|
||||
|
||||
command(nameAndArgs: string, opts?: CommandOptions) {
|
||||
return this.cli.command(nameAndArgs, opts);
|
||||
command(name: string, desc?: string, opts?: CommandOptions): Command {
|
||||
return this.cli.command(name, desc, opts);
|
||||
}
|
||||
|
||||
findCommand(name: string): Command {
|
||||
return (this.cli as any)._findCommand(name);
|
||||
return this.cli._findCommand(name);
|
||||
}
|
||||
|
||||
async load() {
|
||||
|
Loading…
Reference in New Issue
Block a user