A simple, no-fuss CLI picker menu.
It matches entries by prefix (hence the name, as in "prefix-pick") and exits the program as soon as there is only one selectable entry left.
Entries (newline-separated) are piped in via stdin, and the selected entry is piped via stdout. For example:
result=$(printf "foo\nbar\nbaz" | ppick)Use ppick --help to find more about the possible flags.
- Unicode support (probably works already, but needs testing).
- Allows showing the current query.
- Mouse support.
If you use Nix, you already know what to do (wink).
If not, just use Cargo. Everything should work out of the box.
- mini.starter - main inspiration.
- fzf - reference for program behavior.
- yazi - reference for man pages and shell completion generation.