mirror of
https://github.com/charmbracelet/gum
synced 2024-06-08 00:32:17 +02:00
14 lines
614 B
Go
14 lines
614 B
Go
|
package choose
|
||
|
|
||
|
// Options is the customization options for the choose command.
|
||
|
type Options struct {
|
||
|
Options []string `arg:"" optional:"" help:"Options to choose from."`
|
||
|
|
||
|
Height int `help:"Height of the list." default:"10"`
|
||
|
HidePagination bool `help:"Hide pagination." default:"false"`
|
||
|
Indicator string `help:"Prefix to show on selected item" default:"> "`
|
||
|
IndicatorColor string `help:"Indicator foreground color" default:"212"`
|
||
|
SelectedColor string `help:"Selected item foreground color" default:"212"`
|
||
|
UnselectedColor string `help:"Unselected item foreground color" default:""`
|
||
|
}
|