mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-10 16:51:13 +00:00
Plugins/CLI: add descriptor-backed lazy root command registration (#57165)
Merged via squash.
Prepared head SHA: ad1dee32eb
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
This commit is contained in:
committed by
GitHub
parent
d330782ed1
commit
9b4f26e70a
@@ -280,7 +280,7 @@ export function registerCompletionCli(program: Command) {
|
||||
const config = await loadValidatedConfigForPluginRegistration();
|
||||
if (config) {
|
||||
const { registerPluginCliCommands } = await import("../plugins/cli.js");
|
||||
registerPluginCliCommands(program, config);
|
||||
await registerPluginCliCommands(program, config, undefined, undefined, { mode: "eager" });
|
||||
}
|
||||
|
||||
if (options.writeState) {
|
||||
|
||||
Reference in New Issue
Block a user