capt-hook ticket spend
Record a use of a ticket for a system that enforces it downstream, such as the cc-slack daemon.
capt-hook ticket spend [OPTIONS] TICKET_IDPrints the ticket as JSON; exits non-zero with the reason when the ticket does not cover the action.
Full --help output
Usage: capt-hook ticket spend [OPTIONS] TICKET_ID
Record a use of a ticket for a system that enforces it downstream, such as
the cc-slack daemon.
Prints the ticket as JSON; exits non-zero with the reason when the ticket
does not cover the action.
Options:
--place TEXT One key=value of the action's place; repeat [required]
--tree TEXT Session tree the action runs in [required]
--session TEXT Session making the call [required]
--agent TEXT Agent making the call [default: main]
--call TEXT Id of the call this use records [required]
--fingerprint TEXT Digest of the action; a once ticket covers only its own
[required]
--summary TEXT One line naming the action [required]
--help Show this message and exit.
Arguments
TICKET_ID: TEXT- Required.
Options
--place: TEXT- Required. One key=value of the action’s place; repeat
--tree: TEXT- Required. Session tree the action runs in
--session: TEXT- Required. Session making the call
--agent: TEXT = main- Agent making the call
--call: TEXT- Required. Id of the call this use records
--fingerprint: TEXT- Required. Digest of the action; a once ticket covers only its own
--summary: TEXT- Required. One line naming the action