Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/iruzo/pxmenu
- Owner: iruzo
- License: mit
- Created: 2023-03-13T22:31:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-21T19:45:00.000Z (11 months ago)
- Last Synced: 2024-10-10T13:44:05.381Z (about 1 month ago)
- Topics: command-line, shell
- Language: Shell
- Homepage:
- Size: 74.1 MB
- Stars: 13
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)