Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FinishStage ¶
func FinishStage(title string, quiet bool, state *StageState, err error)
FinishStage renders the footer and any error detail lines.
func ItemFromError ¶
ItemFromError extracts the first file-like item from an error for progress display.
Types ¶
type Message ¶
Message represents a message sent through the progress channel
type StageState ¶
type StageState struct {
// contains filtered or unexported fields
}
StageState tracks the console state for a progress stage.
func ConsumeStage ¶
func ConsumeStage(progressChan <-chan Message, done <-chan struct{}, title string, quiet, headerShown bool) StageState
ConsumeStage renders progress messages until done.
Click to show internal directories.
Click to hide internal directories.