Download src/cli/nodes-cli/output-mode.ts from SaylorTwift/openclaw: direct link, hf CLI and curl.
- Browser
- Download file 289 Bytes
-
https://huggingface.co/SaylorTwift/openclaw/resolve/main/src/cli/nodes-cli/output-mode.ts
- Command line
-
hf download hf://SaylorTwift/openclaw/src/cli/nodes-cli/output-mode.ts
-
curl -L -o output-mode.ts https://huggingface.co/SaylorTwift/openclaw/resolve/main/src/cli/nodes-cli/output-mode.ts
289 Bytes
| import { getMachineOutputCommandPath } from "../machine-output-argv.js"; | |
| export function isNodesMachineOutput(argv: readonly string[]): boolean { | |
| const [, command] = getMachineOutputCommandPath(argv, 2); | |
| return command === "invoke" || command === "approve" || command === "reject"; | |
| } | |