smenu

Interactive CLI selection menu for filtering and choosing from lists

brewmacoslinux
Try with needOr install directly
Source

About

Powerful and versatile CLI selection tool for interactive or scripting use

Commands

smenu

Examples

Select a file from current directory$ ls | smenu
Choose a running process to kill$ ps aux | smenu | awk '{print $2}' | xargs kill
Pick a git branch to checkout$ git branch | smenu | xargs git checkout