mirror of
https://github.com/charmbracelet/gum
synced 2024-06-09 01:02:17 +02:00
Update spin/options.go
Co-authored-by: Maas Lalani <maas@lalani.dev>
This commit is contained in:
parent
77bf7f2b23
commit
fb31a20945
|
@ -17,5 +17,5 @@ type Options struct {
|
|||
Title string `help:"Text to display to user while spinning" default:"Loading..." env:"GUM_SPIN_TITLE"`
|
||||
TitleStyle style.Styles `embed:"" prefix:"title." envprefix:"GUM_SPIN_TITLE_"`
|
||||
Align string `help:"Alignment of spinner with regard to the title" short:"a" type:"align" enum:"left,right" default:"left" env:"GUM_SPIN_ALIGN"`
|
||||
Timeout time.Duration `help:"Timeout until spin command aborts" default:"0" env:"GUM_SPIN_TIMEOUT"`
|
||||
Timeout time.Duration `help:"Timeout until spin command aborts" default:"0" env:"GUM_SPIN_TIMEOUT"`
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue