Documentation
¶
Overview ¶
Package picker provides a line-oriented, searchable terminal selector. It deliberately depends only on streams so callers can use terminals, pipes, or deterministic test inputs without terminal-specific state.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Choice ¶
type Choice struct {
// Value is the stable text returned for this choice.
Value string
// Description adds human-readable search context without changing Value.
Description string
}
Choice is a selectable value. Description is optional and participates in filtering, but Search returns only Value.
Click to show internal directories.
Click to hide internal directories.