Command reference
oko approvals claim
Claims an open item for processing, so two readers of one answer cannot both process it.
Invocation#
oko approvals claim <id>Inputs and options#
- The item id.
Output and state effect#
- Moves an `open` item to `processing` and prints it; an item in any other status is left as it is and printed unchanged, `null` when there is none.
Refusals and safe exits#
- `oko approvals claim requires <id>` (exit 2).