Expand description
Output formats for --explain.
Three render targets, all driven off the same ExplainReport
captured by crate::explain::explain:
- text – terminal-friendly, fixed-width, designed to render cleanly without ANSI in any 80-column shell.
- markdown – GitHub-flavoured. Drops into a PR review comment with collapsible details for the rule list.
- json – a stable schema (NOT the engine’s internal struct) suitable for piping into other tooling.
Structs§
- Adjustment
Signals Json - Explain
Json - Explain
Report - Everything
--explainneeds to render. Built byexplain::explain, passed by reference to the format functions. Captured by value so callers can pickle reports across format selections without rebuilding the engine state. - Rule
Match Json
Enums§
- Decision
Json - Explain
Format - Output format selector for
--explain-format.