/pxmenu

POSIX sh simple menu

Primary LanguageShellMIT LicenseMIT

description

  • pxmenu is a simple POSIX sh script that creates a cli menu without external deps.

installation

  • Alpine
apk add pxmenu
  • Others
curl https://raw.githubusercontent.com/iruzo/pxmenu/main/pxmenu -o pxmenu

usage

./pxmenu <filename>
./pxmenu "string\nstring\nstring..."
  • Do not pipe anything into the menu, since stdin could break stty mod.

  • Format your files like this:

option1
option2
option3

preview