Files
openclaw/src/cli/clawbot-cli.ts
2026-06-04 10:48:30 -04:00

18 lines
637 B
TypeScript

// Legacy clawbot command namespace kept for QR/linking aliases.
import type { Command } from "commander";
import { formatDocsLink } from "../../packages/terminal-core/src/links.js";
import { theme } from "../../packages/terminal-core/src/theme.js";
import { registerQrCli } from "./qr-cli.js";
export function registerClawbotCli(program: Command) {
const clawbot = program
.command("clawbot")
.description("Legacy clawbot command aliases")
.addHelpText(
"after",
() =>
`\n${theme.muted("Docs:")} ${formatDocsLink("/cli/clawbot", "docs.openclaw.ai/cli/clawbot")}\n`,
);
registerQrCli(clawbot);
}