Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// ui components (view models)
Spinner spinner.Model
ProgressBar progressBubble.Model
// enums for view model
TitleOptions Title
Hints []string
Context []string
WindowSize tea.WindowSizeMsg
UpdateDuration time.Duration
HideProgressOnSuccess bool
HideStageOnSuccess bool
HideOnSuccess bool
TitleStyle lipgloss.Style
// TitlePendingStyle lipgloss.Style
HintStyle lipgloss.Style
ContextStyle lipgloss.Style
SuccessStyle lipgloss.Style
FailedStyle lipgloss.Style
TitleWidth int
HintEndCaps []string
// contains filtered or unexported fields
}
type Option ¶
type Option func(*Model)
func WithNoStyle ¶
func WithNoStyle() Option
func WithProgress ¶
func WithProgress(prog progress.Progressable) Option
func WithStagedProgressable ¶
func WithStagedProgressable(s progress.StagedProgressable) Option
func WithStager ¶
Click to show internal directories.
Click to hide internal directories.