File size: 680 Bytes
fc93158 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | import type { Command } from "commander";
import { formatDocsLink } from "../../terminal/links.js";
import { theme } from "../../terminal/theme.js";
import { addGatewayServiceCommands } from "./register-service-commands.js";
export function registerDaemonCli(program: Command) {
const daemon = program
.command("daemon")
.description("Manage the Gateway service (launchd/systemd/schtasks)")
.addHelpText(
"after",
() =>
`\n${theme.muted("Docs:")} ${formatDocsLink("/cli/gateway", "docs.openclaw.ai/cli/gateway")}\n`,
);
addGatewayServiceCommands(daemon, {
statusDescription: "Show service install status + probe the Gateway",
});
}
|