Versions in this module Expand all Collapse all v0 v0.1.0 Jul 17, 2026 Changes in this version + type ColorMode int + const ColorAlways + const ColorAuto + const ColorNever + func ParseColorMode(value string) (ColorMode, error) + type UI struct + func New(stdout, stderr io.Writer, mode ColorMode, isTTY bool) *UI + func (u *UI) Color() bool + func (u *UI) Errf(format string, a ...any) + func (u *UI) Errln(args ...any) + func (u *UI) Outf(format string, a ...any) + func (u *UI) Stderr() io.Writer + func (u *UI) Stdout() io.Writer