A cute little menu system written in Ruby 🥰
git clone email@example.com:tristanpenman/micromenu.git cd micromenu gem build micromenu.gemspec gem install ./micromenu-*.gem
gem install micromenu
Once it's in your path, you can run μMenu from anywhere using
$ cd examples $ um ✨ μMenu ✨ Select an action: (Use ↑/↓ arrow keys or numbers to select) ‣ 1) 📁 group-a 2) 📁 group-b
group-b contains a sub-directory
subgroup-a, so you can navigate down to that.
When an executable file is discovered, you will be prompted to provide arguments for it.
um with a particular path as its first argument will change the working directory before doing anything else. e.g:
The output from running
um examples should look like this:
$ um examples ✨ μMenu ✨ Select an action: (Use ↑/↓ arrow keys or numbers to select) ‣ 1) 📁 group-a 2) 📁 group-b
This is designed so that you can create bash aliases and the like. For example, I have a collection of scripts that I use in my work at Vivi, so I have created an alias called
I also have another called
um64 for N64 development.
If you pass in a complete selection of navigation arguments, then any remaining arguments will be passed to the child process. For example:
$ um examples 1 1 hello world ✨ μMenu ✨ ⤷ group-a ⤷ simon-says hello world
This code is licensed under the MIT License.
See the LICENSE file for more information.