Versions in this module Expand all Collapse all v0 v0.0.1 Feb 6, 2026 Changes in this version + var NoProgress bool + var OutputWriter = os.Stdout + var RuleLine = strings.Repeat("━", TermWidth) + func ColorEnabled() bool + func Command(format string, a ...any) + func Debug(payload ...any) + func Debugf(format string, a ...any) + func DisableColor() + func HeaderInfof(format string, a ...any) + func HorizontalRule() + func Info(message string) + func Infof(format string, a ...any) + func InitializePTerm(w io.Writer) + func Note(text string) + func Notef(format string, a ...any) + func Paragraph(format string, a ...any) string + func Paragraphn(n int, format string, a ...any) string + func PrintConnectStringTable(connectStrings state.ConnectStrings) + func Question(text string) + func Questionf(format string, a ...any) + func SetLogLevel(lvl LogLevel) + func Success(message string) + func Successf(format string, a ...any) + func Table(header []string, data [][]string) + func TableWithWriter(writer io.Writer, header []string, data [][]string) + func Title(title string, help string) + func Warn(message string) + func WarnErr(err any, message string) + func WarnErrf(err any, format string, a ...any) + func Warnf(format string, a ...any) + func ZarfCommand(format string, a ...any) + type DebugWriter struct + func (d *DebugWriter) Write(raw []byte) (int, error) + type LogLevel int + const DebugLevel + const InfoLevel + const TermWidth + const TraceLevel + const WarnLevel + type PausableWriter struct + func NewPausableWriter(wr io.Writer) *PausableWriter + func UseLogFile(f *os.File) (*PausableWriter, error) + func (pw *PausableWriter) Pause() + func (pw *PausableWriter) Resume() + func (pw *PausableWriter) Write(p []byte) (int, error) + type ProgressBar struct + func NewProgressBar(total int64, text string) *ProgressBar + func (p *ProgressBar) Add(n int) + func (p *ProgressBar) Close() error + func (p *ProgressBar) Failf(format string, a ...any) + func (p *ProgressBar) GetCurrent() int + func (p *ProgressBar) Successf(format string, a ...any) + func (p *ProgressBar) Update(complete int64, text string) + func (p *ProgressBar) Updatef(format string, a ...any) + func (p *ProgressBar) Write(data []byte) (int, error) + type Spinner struct + func NewProgressSpinner(format string, a ...any) *Spinner + func (p *Spinner) DisablePreserveWrites() + func (p *Spinner) EnablePreserveWrites() + func (p *Spinner) Errorf(err error, format string, a ...any) + func (p *Spinner) Stop() + func (p *Spinner) Success() + func (p *Spinner) Successf(format string, a ...any) + func (p *Spinner) Updatef(format string, a ...any) + func (p *Spinner) Write(raw []byte) (int, error)