Versions in this module Expand all Collapse all v0 v0.10.0 Oct 19, 2026 v0.0.0 Oct 16, 2026 Changes in this version + const EventClearBelow + const EventDone + const EventFail + const EventFinish + const EventFinishError + const EventGroups + const EventMessage + const EventPromotePending + const EventPromoteRunning + const EventRunning + const EventSet + const EventWarn + var ErrUserAborted = huh.ErrUserAborted + var LogPlainText bool + var OutputFormat = "text" + var StyleAccent = lipgloss.NewStyle().Foreground(colorAccent) + var StyleBold = lipgloss.NewStyle().Bold(true) + var StyleDebug = lipgloss.NewStyle().Foreground(colorDebug) + var StyleError = lipgloss.NewStyle().Foreground(colorError) + var StyleInfo = lipgloss.NewStyle().Foreground(colorInfo) + var StyleMuted = lipgloss.NewStyle().Foreground(colorMuted) + var StyleSection = lipgloss.NewStyle().Bold(true) + var StyleSuccess = lipgloss.NewStyle().Foreground(colorSuccess) + var StyleWarning = lipgloss.NewStyle().Foreground(colorWarning) + var TableBorder = lipgloss.NewStyle().Foreground(colorBorder) + var Verbose bool + func Banner(cell, project, cellID string) string + func CloseDebugLog() + func Debugf(format string, a ...any) + func Deprecated(w io.Writer, subject, hint string) + func DeprecatedAt(w io.Writer, subject, hint, source string) + func DeprecatedLine(w io.Writer, msg string) + func FailMsg(message string) + func FormatSecretsPhase(count, failed int) (string, bool) + func GetConfirmation(message string) (bool, error) + func GetSelectionKV(message string, options []SelectOption) (string, error) + func HumanBytes(n int64) string + func Info(message string) + func InitDebugLog(projectDir, commandName string) + func InteractiveTable(headers []string, rows [][]string, sortHandler func(key SortKey) [][]string) + func KV(keyWidth int, key, value string) string + func ParseStatus(s string) (streak.Status, bool) + func PrintData(v any) + func PrintTable(headers []string, rows [][]string) + func SaveCursor() + func SortKeyString(key SortKey) string + func SuccessMsg(message string) + func SuccessRow(title string, elapsed time.Duration) + func Warn(message string) + type BootEvent struct + Detail string + Group string + Groups []PanelGroup + Kind string + Status string + Step string + Text string + type BootPanel struct + func NewBootPanel(groups []PanelGroup) *BootPanel + func (p *BootPanel) Apply(ev BootEvent) error + func (p *BootPanel) Clear() + func (p *BootPanel) ClearBelowGroups() + func (p *BootPanel) Finish(text string) + func (p *BootPanel) FinishError(text string) + func (p *BootPanel) Message(text string, s streak.Status) + func (p *BootPanel) Phase(name string, fn func() error) error + func (p *BootPanel) PhaseDetailed(name string, fn func() (string, error)) error + func (p *BootPanel) PhaseDetailedRunning(running, finalName string, fn func() (string, error)) error + func (p *BootPanel) PhaseDetailedRunningWarn(running, finalName string, fn func() (string, bool, error)) error + func (p *BootPanel) PhaseDetailedWarn(name string, fn func() (string, bool, error)) error + func (p *BootPanel) PromotePending() + func (p *BootPanel) PromoteRunning() + func (p *BootPanel) Seal(name string) + func (p *BootPanel) SetBannerRows(n int) + func (p *BootPanel) SetBoot(group, step string, s streak.Status, title string) + func (p *BootPanel) Snapshot() *streak.Grid + func (p *BootPanel) UpdateText(message string) + func (p *BootPanel) WarnBoot(msg string) + type BootView interface + ClearBelowGroups func() + Finish func(text string) + FinishError func(text string) + Message func(text string, s streak.Status) + PromotePending func() + PromoteRunning func() + SetBoot func(group, step string, s streak.Status, title string) + WarnBoot func(msg string) + type BuildErrorHint struct + Body string + Fixes []string + Title string + func ClassifyBuildOutput(output string) *BuildErrorHint + type EventPanel struct + func NewEventPanel(groups []PanelGroup) *EventPanel + func (p *EventPanel) Bind(s EventSink) error + func (p *EventPanel) ClearBelowGroups() + func (p *EventPanel) Events() []BootEvent + func (p *EventPanel) Finish(text string) + func (p *EventPanel) FinishError(text string) + func (p *EventPanel) Finished() (finished bool, failed bool) + func (p *EventPanel) Message(text string, s streak.Status) + func (p *EventPanel) Phase(name string, fn func() error) error + func (p *EventPanel) PhaseDetailed(name string, fn func() (string, error)) error + func (p *EventPanel) PhaseDetailedRunning(running, finalName string, fn func() (string, error)) error + func (p *EventPanel) PhaseDetailedRunningWarn(running, finalName string, fn func() (string, bool, error)) error + func (p *EventPanel) PhaseDetailedWarn(name string, fn func() (string, bool, error)) error + func (p *EventPanel) PromotePending() + func (p *EventPanel) PromoteRunning() + func (p *EventPanel) Seal(name string) + func (p *EventPanel) SetBoot(group, step string, s streak.Status, title string) + func (p *EventPanel) SinkErr() error + func (p *EventPanel) Unbind() + func (p *EventPanel) UpdateText(message string) + func (p *EventPanel) WarnBoot(msg string) + type EventSink interface + Apply func(BootEvent) error + type PanelGroup struct + Label string + Steps []string + type PhaseRunner struct + func (p *PhaseRunner) Phase(name string, fn func() error) error + func (p *PhaseRunner) PhaseDetailed(name string, fn func() (detail string, err error)) error + func (p *PhaseRunner) PhaseDetailedRunning(running, finalName string, fn func() (detail string, err error)) error + func (p *PhaseRunner) PhaseDetailedRunningWarn(running, finalName string, fn func() (detail string, warn bool, err error)) error + func (p *PhaseRunner) PhaseDetailedWarn(name string, fn func() (detail string, warn bool, err error)) error + func (p *PhaseRunner) Seal(name string) + func (p *PhaseRunner) UpdateText(message string) + type Phaser interface + Phase func(name string, fn func() error) error + PhaseDetailed func(name string, fn func() (detail string, err error)) error + PhaseDetailedRunning func(running, finalName string, fn func() (detail string, err error)) error + PhaseDetailedRunningWarn func(running, finalName string, fn func() (detail string, warn bool, err error)) error + PhaseDetailedWarn func(name string, fn func() (detail string, warn bool, err error)) error + Seal func(name string) + UpdateText func(message string) + type ProgressSpinner struct + func NewProgressSpinner(message string) *ProgressSpinner + func (ps *ProgressSpinner) Fail(message string) *ProgressSpinner + func (ps *ProgressSpinner) Stop() + func (ps *ProgressSpinner) Success(message string) *ProgressSpinner + func (ps *ProgressSpinner) UpdateText(message string) *ProgressSpinner + func (ps *ProgressSpinner) Warn(message string) *ProgressSpinner + type SelectOption struct + Label string + Value string + type SortKey string + const SortRecommended + const SortSWE + const SortSize + const SortSpeed