package ui

Import Path
	go.pact.im/x/goship/internal/ui (on go.dev)

Dependency Relation
	imports 11 packages, and imported by one package

Involved Source Files diff.go Package ui renders goship inspection, graph, plan, and execution output in styled terminal formats (via lipgloss v2) as well as JSON, DOT, and Mermaid. graph.go list.go plan.go renderer.go
Package-Level Type Names (total 4, in which 3 are exported)
/* sort exporteds by: | */
ColorMode controls ANSI color output. func ParseColorMode(raw string) (ColorMode, error) func New(w io.Writer, mode ColorMode, env []string) *Renderer const ColorAlways const ColorAuto const ColorNever
Format identifies an output format supported by Renderer. func (*Renderer).RenderDiff(ins *release.Inspection, format Format) error func (*Renderer).RenderGraph(ins *release.Inspection, format Format) error func (*Renderer).RenderList(ins *release.Inspection, format Format) error func (*Renderer).RenderPlan(plan *release.Plan, format Format) error func (*Renderer).RenderResult(plan *release.Plan, res *release.Result, format Format) error const FormatDOT const FormatJSON const FormatMermaid const FormatText
Renderer writes formatted goship output to an io.Writer. RenderDiff renders per-module API diffs in FormatText or FormatJSON. RenderGraph renders the layered module dependency graph in FormatText, FormatJSON, FormatDOT, or FormatMermaid. RenderList renders module inspection output in FormatText or FormatJSON. RenderPlan renders a release plan in FormatText or FormatJSON. RenderResult renders the final execution summary in FormatText or FormatJSON. RenderStep prints a single live progress event during execution. func New(w io.Writer, mode ColorMode, env []string) *Renderer
Package-Level Functions (total 6, in which 2 are exported)
New creates a Renderer targeting w with the requested color mode and environment variables (typically os.Environ() from main).
ParseColorMode validates a color mode flag value.
Package-Level Constants (total 7, all are exported)
Supported color modes.
Supported color modes.
Supported color modes.
Supported output formats.
Supported output formats.
Supported output formats.
Supported output formats.