Expand description
Output formatters for diff results.
Two formatters are exposed:
TableFormatter— human-readable, multi-resource indented layout matching IMPLEMENTATION.md §7.4. v0.1.0 ships without ANSI colors; the global--no-colorflag is therefore a no-op until a future cosmetic pass adds color.JsonFormatter— frozen v1 schema for CI consumption (§12). The wire shape carries an explicitversion: 1field so consumers can branch on a future schema bump.
The wire types in json are deliberately separate from the domain
types in crate::resource / crate::diff. Refactoring a domain
type cannot accidentally change the public JSON contract.
Modules§
Structs§
Enums§
Traits§
- Diff
Formatter - Format a
DiffSummaryfor display. Implementations are stateless unit structs.