CLI command

probierz incident list

Read the register, newest first, for the state the caller names.

Invocation#

Shell
probierz incident list --state <STATE>

Required inputs and options#

  • `--state` is required: `open`, `resolved` or `all`; no state is assumed.
  • `--limit N` keeps the newest N and must be a positive number; every matching incident is printed when it is omitted.
  • `--json` returns the entries with their resolutions instead of one line each.

Output and state effects#

Reads the register file and writes the matching entries. It is read-only and never repairs a malformed line.

Exact refusals#

  • A missing state is refused by the parser with exit 2; an unknown state: `--state is open, resolved or all, not <value>`.
  • A limit of zero or a non-number: `error: invalid value '0' for '--limit <LIMIT>': --limit needs a positive number`.
  • Malformed JSON is refused with `<path>:<line> is not one JSON object: …`; an unknown schema is refused with `<path>:<line> carries an unsupported incident schema`.

Source snapshot#

Generated from the Rust binaries at https://github.com/wisent-ai/probierz.git revision `f65b755da397f2ec7435eb80ed722aa6017437c1`.

Combined help SHA-256: `4a12655d233812abc29eeebbf3db3065efe3e00288024383f3eef3970d092e94`; binary SHA-256: `d5398832d3ab52c541b1efe979730dea62941ac6197898a20fccfc5d3fca44df`.