CLICommands
hitl
snug hitl <COMMAND>HITL - human-in-the-loop approval requests and decisions.
Subcommands
| Command | What it does |
|---|---|
request | Manage HITL requests (machine side) |
approval | Manage pending approvals (human side) |
Run snug hitl <command> --help for that command's own options.
The global options apply everywhere.
Examples
snug hitl request create --title "Approve deploy" --kind approve_reject --approver alice --approver bob --required-approvers 2
snug hitl request create --title "Pick region" --kind multiple_choice --approver ops --option us-east:"US East" --option eu-west:"EU West"
snug hitl request create --title "Provide config" --kind input --approver ops
snug hitl request get --request-id <uuid>
snug hitl request list --status pending --page 1 --page-size 20
snug hitl request decision --request-id <uuid> --approve --reason "looks good"
snug hitl request acknowledge --request-id <uuid>
snug hitl approval list
snug hitl approval respond --request-id <uuid> --approve --reason "ship it"
snug hitl approval respond --request-id <uuid> --reject --reason "needs review"
snug hitl approval respond --request-id <uuid> --select-option us-east
snug hitl approval respond --request-id <uuid> --input '{"port":8080}'Next
- hitl guide - what the service does and when to reach for it.
- API reference - every endpoint these commands call.
- CLI reference - global options, output modes, and exit codes.