Oko/Docs

Command reference

oko rulings unbind

Takes named subjects off one ruling that was recorded on the wrong task or defect: the inverse of binding them with record. The operator's words are not touched.

Invocation#

Command
oko rulings unbind <id> --subject ID [--subject ID ...] [--json]

Inputs and options#

  • The ruling id or its unambiguous prefix; --subject, repeatable, names each task identity or defect id to take off it.

Output and state effect#

  • Removes the subjects and prints `ruling <id> stands on <remaining subjects>`; a ruling left with no subject is dropped and `ruling <id> decides nothing now and is gone from the register` is printed.

Refusals and safe exits#

  • `oko rulings unbind requires <id>`, `oko rulings unbind does not take <flags>; it takes --subject, --json` (exit 2); `unbind needs at least one --subject to take off the ruling`; `no ruling with id <id> is registered`; `ruling <id> does not decide <subject>; it decides <subjects>`.

CLI reference#