Documentation
¶
Overview ¶
Package picker is the CLI's interactive list chooser: a numbered table on stderr, a prompt on stdin. Typing a number picks, typing text filters the list (case-insensitive substring), an empty answer takes the default. No alternate screen, no raw mode — it works in any terminal and is scriptable by piping answers, which is also how the test suite drives it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCancelled = errors.New("cancelled")
ErrCancelled is returned when the person backs out (Esc / Ctrl-C).
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.