console

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

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 New

func New() *Renderer

New returns a new Renderer.

func (*Renderer) Format

func (r *Renderer) Format() string

Format returns "text".

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL