Oko/Docs

Command reference

oko frustration cause

Names what caused the moment and, optionally, the registered defect it comes from.

Invocation#

Command
oko frustration cause <id> --cause TEXT [--defect ID] [--json]

Inputs and options#

  • The moment id, the cause, and a defect id resolved against the defect register before it is stored.

Output and state effect#

  • Stores the cause and the defect link and prints `cause named for <id>: <cause>` and `linked to defect <id>` when one was named.

Refusals and safe exits#

  • `oko frustration cause requires <id>`, `oko frustration requires --cause <text>` (exit 2); `no defect with id <id> is registered`; `no frustration entry with id <id> is registered`.

CLI reference#