mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 12:14:58 +00:00
docs: align CLI docs and help surface
This commit is contained in:
@@ -1,7 +1,16 @@
|
||||
import type { Command } from "commander";
|
||||
import { formatDocsLink } from "../terminal/links.js";
|
||||
import { theme } from "../terminal/theme.js";
|
||||
import { registerQrCli } from "./qr-cli.js";
|
||||
|
||||
export function registerClawbotCli(program: Command) {
|
||||
const clawbot = program.command("clawbot").description("Legacy clawbot command aliases");
|
||||
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user