Command reference
oko requests close
Closes a request with a final status, `resolved` when none is given.
Invocation#
oko requests close <id> [--status STATUS]Inputs and options#
- The request id and the status: `open` (the request still waits) or one of `resolved`, `done`, `blocked`, `rejected`, `approved`, `deferred`. `oko requests list --open` lists exactly the `open` ones.
Output and state effect#
- Sets the status and prints the request, or `null` when no request has that id.
Refusals and safe exits#
- `oko requests close requires <id>` (exit 2); `oko requests close --status "<word>": unknown variant ...` naming the accepted statuses (exit 2).