Documentation ¶ Index ¶ func RenderList[T Option](opts map[string]T, key string, message string) T type Cmd func Command(message string, name string, arg ...string) *Cmd func (s *Cmd) Run() error type Complete type History type Item func (i Item) FilterValue() string type Option Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func RenderList ¶ func RenderList[T Option](opts map[string]T, key string, message string) T Types ¶ type Cmd ¶ type Cmd struct { Stdout io.Writer Stderr io.Writer Env []string Dir string // contains filtered or unexported fields } func Command ¶ func Command(message string, name string, arg ...string) *Cmd func (*Cmd) Run ¶ func (s *Cmd) Run() error type Complete ¶ type Complete struct { } type History ¶ type History struct { Value string } type Item ¶ type Item struct { Key string Text string } func (Item) FilterValue ¶ func (i Item) FilterValue() string type Option ¶ type Option interface { SetKey(string) Text() string } Source Files ¶ View all Source files list.gospinner.go Click to show internal directories. Click to hide internal directories.