Skip to main content

Module cli

Module cli 

Source
Expand description

CLI argv surface (PORT-CONTRACT.d/01).

Parity scope: exit codes, stdout bytes, and the final <prog>: error: <msg> stderr line. Usage/help BODY text is out of scope (decision 9) — stdout stays byte-identical (empty on errors).

Functions§

run
Dispatch plus the ADR-046 usage recorder: one content-free event per dispatched command, gated by recorded consent, silent-fail, after the command completes (never before, so telemetry on records itself under its own freshly-written consent, exactly like the oracle).