stado errors check
Invocation
stado errors check [OPTIONS] --source <SOURCE>Purpose
Refuse a catalogue that is not one, and an error message in the source under each --source directory that holds a generic sentence ("did not succeed", "something went wrong") beyond what --baseline allows. Exits non-zero naming each finding
Required inputs and options
| Input or option | Contract |
|---|---|
--source <SOURCE> | A source directory to scan; repeat for several |
--baseline <BASELINE> | `{"<path>": {"<sentence>": <count>}}`: the generic sentences each file may still hold until it is rewritten |
--json | Emit the findings as JSON |
Output and state effect
It performs the operation described above and emits its operator result on standard output or standard error. Any state change is limited to the resources and records named by the purpose and options on this page.
Refusals
- Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.