stdout for results
Structured results stay on stdout so they can be piped, redirected, or parsed.
Shell scripts · CI jobs · coding agents
Huly CLI exposes the complete shared Huly operation surface through predictable commands, structured JSON, file-backed inputs, and process-friendly failures.
Add --json for machine-readable stdout. When an operation also emits warnings, the CLI preserves them alongside the result.
# Select fields from a project listing
huly projects list --json | jq '.projects[] | {identifier, name}'
# Keep a complete result for the next automation step
huly issues get PROJ 123 --json > ./issue.json
--input-file accepts a complete JSON operation input. This avoids brittle shell quoting for arrays and nested values.
huly issues create \
--input-file ./new-issue.json \
--json
Inputs merge in command-line order. Named positionals and explicit flags override JSON values, and file-backed field flags have the final precedence.
Structured results stay on stdout so they can be piped, redirected, or parsed.
Typed operation and input failures are rendered on stderr with a non-zero exit code.
--yes for intentPass explicit confirmation for deletion, access changes, and other consequential operations.
Use @latest for ad hoc jobs. For reproducible automation, replace it with the exact published version your workflow has tested.
pnpm dlx @firfi/huly-cli@latest projects list --json
The CLI works well when an agent can run subprocesses. Huly MCP is purpose-built for agents that discover and invoke tools through Model Context Protocol.