Oko/Docs

Command reference

oko defects shapes

Reads every shape the register holds with the defects recorded under it, the most recorded first, so the shape two defects share is read before the next fix of either.

Invocation#

Command
oko defects shapes [--json]

Inputs and options#

  • None.

Output and state effect#

  • Prints one line per shape: `<count> (<open> open) <shape> <ids>`, or `no defect in <register path> was recorded with a shape`. With --json every row carries `shape`, `defects` and `open`. Reads only.

Refusals and safe exits#

  • `oko defects shapes does not take <flags>; it takes --json` (exit 2).

CLI reference#