Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SearchSelectConfig ¶
type SearchSelectConfig struct {
Title string
Placeholder string
Help string
LoadFunc func() ([]SelectOption, error)
}
SearchSelect prompts the user to search and select from a dynamically loaded list
type SelectOption ¶
SelectOption represents an option in a selection list
func SearchSelect ¶
func SearchSelect(config SearchSelectConfig) (*SelectOption, error)
SearchSelect prompts with search functionality and async loading
func Select ¶
func Select(title string, options []SelectOption, help string) (*SelectOption, error)
Select prompts the user to select from a list of options
func (SelectOption) FilterValue ¶
func (o SelectOption) FilterValue() string
Click to show internal directories.
Click to hide internal directories.