Oko/Docs

Command reference

oko claims list

Lists the claims, newest first, each with where it stands; --subject keeps the claims about one item, --unverified the ones that do not hold. `oko defects show` lists the claims about a defect, and `oko work queue` no longer serves a defect whose repair claim holds.

Invocation#

Command
oko claims list [--subject ITEM] [--unverified] [--json]

Inputs and options#

  • --subject takes a whole id or its short form.

Output and state effect#

  • Prints `<short id> <class> <subject> <revision> <standing>` per claim, or `no claim in <path> matches`. With --json a list of claims with `standing` and `said`; the native API answers the same (`claims` `list {subject, unverified}`).

Refusals and safe exits#

  • A flag other than --subject, --unverified and --json is refused by name (exit 2); the register's read refusals.

CLI reference#