Files
openclaw/src/cli/clawbot-cli.ts
Peter Steinberger de1dfab03e refactor: move terminal core into package (#88279)
* refactor: move terminal core into package

* refactor: move terminal module files

* fix: clean terminal package CI followups

* test: update lint suppression allowlist

* fix: ship terminal core runtime aliases
2026-05-30 11:07:45 +02:00

17 lines
572 B
TypeScript

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);
}