Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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)