Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tcm9439/directory-driven-shell-menu
A simple helper script for creating a menu from a directory of scripts.
https://github.com/tcm9439/directory-driven-shell-menu
menu shell-script
Last synced: about 14 hours ago
JSON representation
A simple helper script for creating a menu from a directory of scripts.
- Host: GitHub
- URL: https://github.com/tcm9439/directory-driven-shell-menu
- Owner: tcm9439
- Created: 2023-08-04T14:53:23.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-09T13:26:03.000Z (over 1 year ago)
- Last Synced: 2024-12-10T15:07:18.238Z (about 2 months ago)
- Topics: menu, shell-script
- Language: Shell
- Homepage:
- Size: 139 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Directory Driven Menu for Shell Scripts
This is a simple helper script for creating a menu from a directory of scripts.
Each item located in the given directory will be loaded as a item in the menu. A sub directory will become a sub menu.
## Demo
Refer to the `./test/demo1`.File directory to create the menu:
```
config/
├── serviceA/
│ ├─ change-a-config.sh
├── serviceB/
│ ├─ change-b-config.sh
├── change-c-config.sh
```
Demo:![demo](dir-driven-menu-demo.gif)