Oko/Docs

Command reference

oko rulings constraints

Every action and product a standing ruling constrains, each with the decision `oko admit` gives it now, every product's first.

Invocation#

Command
oko rulings constraints [--json]

Inputs and options#

  • Takes nothing but --json.

Output and state effect#

  • Prints one line per constraint: `<action>[:<product>] allowed | forbidden now <reason>`, or that no standing ruling constrains any action class. With --json prints the decisions as `oko admit --json` does. Reads only. Oko Desktop → Rulings → Constraints lists the same (`rulings` `constraints`).

Refusals and safe exits#

  • `oko rulings constraints does not take <flags>; it takes --json` (exit 2); the ruling register's read refusals.

CLI reference#