mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-24 18:24:27 +00:00
fix: load CLI plugin registry for channel-aware commands (#1338) (thanks @MaudeBot)
This commit is contained in:
@@ -12,6 +12,7 @@ import { defaultRuntime } from "../../runtime.js";
|
||||
import { formatDocsLink } from "../../terminal/links.js";
|
||||
import { theme } from "../../terminal/theme.js";
|
||||
import { runCommandWithRuntime } from "../cli-utils.js";
|
||||
import { markCommandRequiresPluginRegistry } from "./command-metadata.js";
|
||||
|
||||
function resolveInstallDaemonFlag(
|
||||
command: unknown,
|
||||
@@ -32,7 +33,7 @@ function resolveInstallDaemonFlag(
|
||||
}
|
||||
|
||||
export function registerOnboardCommand(program: Command) {
|
||||
program
|
||||
const onboard = program
|
||||
.command("onboard")
|
||||
.description("Interactive wizard to set up the gateway, workspace, and skills")
|
||||
.addHelpText(
|
||||
@@ -150,4 +151,5 @@ export function registerOnboardCommand(program: Command) {
|
||||
);
|
||||
});
|
||||
});
|
||||
markCommandRequiresPluginRegistry(onboard);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user