mirror of
https://github.com/charmbracelet/gum
synced 2024-06-09 09:12:18 +02:00
11 lines
431 B
Go
11 lines
431 B
Go
package spin
|
|
|
|
// Options is the customization options for the spin command.
|
|
type Options struct {
|
|
Command []string `arg:"" help:"Command to run"`
|
|
|
|
Color string `help:"Spinner color" default:"212"`
|
|
Spinner string `help:"Spinner type" type:"spinner" enum:"line,dot,minidot,jump,pulse,points,globe,moon,monkey,meter,hamburger" default:"dot"`
|
|
Title string `help:"Text to display to user while spinning" default:"Loading..."`
|
|
}
|