Download src/cli/daemon-cli/register.ts from shimen/shinclaw: direct link, hf CLI and curl.
- Browser
- Download file 680 Bytes
-
https://huggingface.co/spaces/shimen/shinclaw/resolve/main/src/cli/daemon-cli/register.ts
- Command line
-
hf download hf://spaces/shimen/shinclaw/src/cli/daemon-cli/register.ts
-
curl -L -o register.ts https://huggingface.co/spaces/shimen/shinclaw/resolve/main/src/cli/daemon-cli/register.ts
680 Bytes
| 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", | |
| }); | |
| } | |