Versions in this module Expand all Collapse all v1 v1.0.1 Aug 24, 2026 v1.0.0 Aug 24, 2026 Changes in this version + func ConfirmTitle(action, subject string) string + type Option struct + Label string + Value string + type Options struct + Color bool + Err io.Writer + NoInput bool + Out io.Writer + Quiet bool + StderrTTY bool + StdinTTY bool + Term string + type Spinner struct + func (s *Spinner) Stop() + func (s *Spinner) String() string + func (s *Spinner) Update(msg string) + type UI struct + func FromEnv(quiet, noInput, color bool) *UI + func New(o Options) *UI + func (u *UI) Confirm(action, subject string) error + func (u *UI) Data(format string, a ...any) + func (u *UI) EmptyState(resource string) + func (u *UI) Failure(err error) + func (u *UI) Info(format string, a ...any) + func (u *UI) NoInput() bool + func (u *UI) Quiet() bool + func (u *UI) Receipt(verb, resource, id string) + func (u *UI) Select(title string, opts []Option) (string, error) + func (u *UI) SelectWithHint(title, flagHint string, opts []Option) (string, error) + func (u *UI) Spinner(msg string) *Spinner + func (u *UI) StatusLine(s string) + func (u *UI) Success(format string, a ...any)