Download src/cli/nodes-cli/register.ts from shimen/shinclaw: direct link, hf CLI and curl.
- Browser
- Download file 1.31 kB
-
https://huggingface.co/spaces/shimen/shinclaw/resolve/main/src/cli/nodes-cli/register.ts
- Command line
-
hf download hf://spaces/shimen/shinclaw/src/cli/nodes-cli/register.ts
-
curl -L -o register.ts https://huggingface.co/spaces/shimen/shinclaw/resolve/main/src/cli/nodes-cli/register.ts
1.31 kB
| import type { Command } from "commander"; | |
| import { formatDocsLink } from "../../terminal/links.js"; | |
| import { theme } from "../../terminal/theme.js"; | |
| import { registerNodesCameraCommands } from "./register.camera.js"; | |
| import { registerNodesCanvasCommands } from "./register.canvas.js"; | |
| import { registerNodesInvokeCommands } from "./register.invoke.js"; | |
| import { registerNodesLocationCommands } from "./register.location.js"; | |
| import { registerNodesNotifyCommand } from "./register.notify.js"; | |
| import { registerNodesPairingCommands } from "./register.pairing.js"; | |
| import { registerNodesScreenCommands } from "./register.screen.js"; | |
| import { registerNodesStatusCommands } from "./register.status.js"; | |
| export function registerNodesCli(program: Command) { | |
| const nodes = program | |
| .command("nodes") | |
| .description("Manage gateway-owned node pairing") | |
| .addHelpText( | |
| "after", | |
| () => | |
| `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/nodes", "docs.openclaw.ai/cli/nodes")}\n`, | |
| ); | |
| registerNodesStatusCommands(nodes); | |
| registerNodesPairingCommands(nodes); | |
| registerNodesInvokeCommands(nodes); | |
| registerNodesNotifyCommand(nodes); | |
| registerNodesCanvasCommands(nodes); | |
| registerNodesCameraCommands(nodes); | |
| registerNodesScreenCommands(nodes); | |
| registerNodesLocationCommands(nodes); | |
| } | |