Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Defaults = Config{ Options: ConfigOptions{ ExitOnFailure: true, }, Spinner: spinner.Dot, ProgressOptions: []progress.Option{ progress.WithDefaultGradient(), progress.WithoutPercentage(), progress.WithWidth(10), }, Colors: ConfigColors{ Spinner: lipgloss.Color("214"), Pending: lipgloss.Color("lightgrey"), Success: lipgloss.Color("46"), Failure: lipgloss.Color("196"), ParentStarted: lipgloss.Color("214"), }, Chars: ConfigChars{ NotStarted: "○", Success: "✔", Failure: "✗", ParentStarted: "»", }, }
Functions ¶
Types ¶
type Config ¶
type Config struct {
Colors ConfigColors
Chars ConfigChars
Spinner spinner.Spinner
Options ConfigOptions
ProgressOptions []progress.Option
DisableUI bool // Disable animations and spinners
}
type ConfigChars ¶
type ConfigColors ¶
type ConfigOptions ¶
type ConfigOptions struct {
ExitOnFailure bool
}
type Model ¶ added in v0.1.5
func (*Model) SetShutdown ¶ added in v0.1.5
type Runner ¶
type Task ¶
type TaskProgress ¶
type TerminateWithError ¶ added in v0.1.5
type TerminateWithError struct {
Error error
}
Directories
¶
| Path | Synopsis |
|---|---|
|
examples
|
|
|
custom
command
|
|
|
disable-ui
command
|
|
|
error
command
|
|
|
multi
command
|
|
|
progress
command
|
|
|
simple
command
|
|
|
too-much-to-do
command
|
Click to show internal directories.
Click to hide internal directories.



