Versions in this module Expand all Collapse all v0 v0.1.1 Feb 18, 2026 v0.1.0 Feb 7, 2026 Changes in this version + var ErrInvalidColor = errors.New("invalid --color value") + func RenderTable(headers []string, rows [][]string, color bool) string + func WithUI(ctx context.Context, u *UI) context.Context + type Options struct + Color string + Stderr io.Writer + Stdout io.Writer + type Printer struct + func (p *Printer) ColorEnabled() bool + func (p *Printer) Errorf(format string, args ...any) + func (p *Printer) Print(msg string) + func (p *Printer) Printf(format string, args ...any) + func (p *Printer) Println(msg string) + func (p *Printer) Successf(format string, args ...any) + type UI struct + func FromContext(ctx context.Context) *UI + func New(opts Options) (*UI, error) + func (u *UI) Err() *Printer + func (u *UI) Out() *Printer