Expand description
The language-neutral report contract of the fallow command-line tools.
This crate holds the types that every fallow report shares: the JSON error document and the verdict of a gate. A tool that emits a fallow report depends on this crate, so two tools cannot write a different shape for the same member.
The crate depends on no other fallow crate and on no JavaScript type. The
schema feature derives schemars::JsonSchema for each type.
The crate version follows the fallow release. The wire version is
REPORT_PROTOCOL_VERSION.
Modules§
- exit_
code - The process exit codes of the report contract.
Structs§
- Error
Output - Structured JSON error emitted on stdout when
--format jsonis active and a command fails. It carries nokinddiscriminator: it is distinguished from the kind-tagged success envelopes by the requirederror: truefield, and is a document-root branch alongsideFallowOutputandCodeClimateOutputindocs/output-schema.json. Agents that pass--format jsonand observe a non-zero exit code parse this shape from stdout. - Gate
File - One file a file-judging gate names, with the reason the gate counted it.
- Gate
Outcome - One gate’s verdict on one run.
Enums§
- Gate
File Reason - Why a file counts for the
parse-errorgate, other than a parser error. - Gate
Status - What a gate concluded on this run.
Constants§
- REPORT_
PROTOCOL_ VERSION - The version of the wire contract that this crate describes.