Oko/Docs

Command reference

oko journal complete

Keeps the receipt, read from standard input, for the running claim of a job.

Invocation#

Command
oko journal complete <job> --journal NAME < receipt

Inputs and options#

  • The job id and its receipt on standard input.

Output and state effect#

  • Moves the claim to `succeeded` with the receipt and prints `{completed: job}`.

Refusals and safe exits#

  • `oko journal complete requires <id>` (exit 2); `Execution journal refused the operation: job <job> produced a non-UTF-8 receipt`; `… job <job> has no running claim to complete`.

CLI reference#