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{ ParentStarted: "»", NotStarted: "•", Success: "✔", Failure: "✘", }, }
Functions ¶
Types ¶
type Config ¶
type Config struct { Options ConfigOptions Spinner spinner.Spinner Colors ConfigColors ProgressOptions []progress.Option Chars ConfigChars }
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
}
Click to show internal directories.
Click to hide internal directories.