Expand description
Centralized CLI error helpers.
Provides a single point for emitting CLI-subcommand failure logs +
exiting with the appropriate status code. Used by the run subcommand
(and future subcommands) to keep error-handling consistent.
Per ADR-0012, CLI bootstrap/subcommand failures are category (d) — keep
error! with // log-policy: system-broken annotation. The annotation
lives at each call site in the subcommand bodies.
Functions§
- report_
cli_ failure_ and_ exit - Report a fatal CLI subcommand failure: print to stderr and exit(1).
- report_
cli_ failure_ msg_ and_ exit - Report a fatal CLI subcommand failure with a non-CamelError error type.