Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/iruzo/pxmenu

POSIX sh simple menu
https://github.com/iruzo/pxmenu

command-line shell

Last synced: 21 days ago
JSON representation

POSIX sh simple menu

Awesome Lists containing this project

README

        

# description

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

# installation

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

# usage

```sh
./pxmenu
./pxmenu "string\nstring\nstring..."
```

- Do not pipe anything into the menu, since stdin could break stty mod.

- Format your files like this:

```sh
option1
option2
option3
```

![preview](https://raw.githubusercontent.com/iruzo/pxmenu/main/assets/preview.gif)