Documentation
¶
Overview ¶
Package console renders a Diagnostic as clean, LLM-friendly plain text: labelled sections of aligned key/value lines, no box-drawing tables.
Package console implements the human-readable console renderer. It prints a short summary: verdict, finding count, exit-code hint, and a pointer to JSON for full detail.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Renderer ¶
type Renderer struct{}
Renderer prints a structured, human- and LLM-readable Diagnostic summary.
func (*Renderer) Render ¶
func (r *Renderer) Render(d diagnostic.Diagnostic, w io.Writer) error
Render writes the diagnostic as labelled sections (verdict, summary, metrics, gate findings, advisories, coverage). Lines are aligned with spaces so the output stays readable and machine-parseable without table formatting.
Click to show internal directories.
Click to hide internal directories.