Oko/Docs

Command reference

oko shame withdraw

Takes back one entry recorded in error — the build was consented to, or the check was made after all — so it counts toward no penalty: the inverse of record.

Invocation#

Command
oko shame withdraw <id> --reason TEXT [--json]

Inputs and options#

  • The entry id or its unambiguous prefix, and the reason it was recorded in error.

Output and state effect#

  • Moves the entry out of the counted list, keeps it with the reason under the register's withdrawn entries, and prints `withdrew wasted build <id> by <model>` and `penalty: <rule>` with the penalty the model carries now.

Refusals and safe exits#

  • `oko shame withdraw requires <id>`, `oko shame requires --reason <text>` (exit 2); `a wasted build needs why the entry was recorded in error` for a blank reason; `no wasted build with id <id> is registered`.

CLI reference#