CLICommands

hitl

snug hitl <COMMAND>

HITL - human-in-the-loop approval requests and decisions.

Subcommands

CommandWhat it does
requestManage HITL requests (machine side)
approvalManage 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

On this page