Versions in this module Expand all Collapse all v0 v0.9.0-rc8 May 5, 2026 v0.8.1 Apr 24, 2026 Changes in this version + const ColorObolAcid + const ColorObolAmber + const ColorObolCyan + const ColorObolDarkGreen + const ColorObolGreen + const ColorObolLight + const ColorObolMuted + const ColorObolPurple + const ColorObolRed + func Banner() string + type ExecConfig struct + Cmd *exec.Cmd + Interactive bool + Name string + type OutputMode int + const OutputHuman + const OutputJSON + func ParseOutputMode(s string) (OutputMode, error) + type UI struct + func New(verbose bool) *UI + func NewWithAllOptions(verbose, quiet bool, output OutputMode) *UI + func NewWithOptions(verbose, quiet bool) *UI + func (u *UI) Blank() + func (u *UI) Bold(msg string) + func (u *UI) Confirm(msg string, defaultYes bool) bool + func (u *UI) Detail(key, value string) + func (u *UI) Dim(msg string) + func (u *UI) Error(msg string) + func (u *UI) Errorf(format string, args ...any) + func (u *UI) Exec(cfg ExecConfig) error + func (u *UI) ExecOutput(cfg ExecConfig) ([]byte, error) + func (u *UI) FormatActionableError(err error, action string) + func (u *UI) FormatError(err error, hint string) + func (u *UI) Info(msg string) + func (u *UI) Infof(format string, args ...any) + func (u *UI) Input(msg string, defaultVal string) (string, error) + func (u *UI) IsJSON() bool + func (u *UI) IsQuiet() bool + func (u *UI) IsTTY() bool + func (u *UI) IsVerbose() bool + func (u *UI) JSON(v any) error + func (u *UI) Print(msg string) + func (u *UI) Printf(format string, args ...any) + func (u *UI) RunWithSpinner(msg string, fn func() error) error + func (u *UI) SecretInput(msg string) (string, error) + func (u *UI) Select(msg string, options []string, defaultIdx int) (int, error) + func (u *UI) Success(msg string) + func (u *UI) Successf(format string, args ...any) + func (u *UI) SuggestCommand(app *cli.App, command string) + func (u *UI) Warn(msg string) + func (u *UI) Warnf(format string, args ...any)