Oko/Docs

Command reference

oko defects incidents show

Shows one incident with what it cost.

Invocation#

Command
oko defects incidents show ID [--json]

Inputs and options#

  • ID: the incident's id or its start.
  • The register is OKO_INCIDENT_REGISTER, else incidents.json in Oko's state directory, written readable by its owner only and published nowhere.

Output and state effect#

  • Prints its line and `cost: <harm>`; --json prints the incident.

Refusals and safe exits#

  • An id no incident, or more than one, answers to is refused by name.

CLI reference#