Build interactive menu from most used shell commands.
gem install ginbin
Create config ~/.ginbin.yml:
commands:
- title: "Connect to server"
cmd: ssh my-server.com -t "cd /opt/app && bash -l"
- title: "Build report"
cmd: /usr/bin/report
# short command desc without titlwe
- echo `date`
- menu: Submenu
commands:
- echo 1
- echo 2
- menu: Sub Sumenu
commands:
- ssh server1
- ssh server2
# any command could have a title
- title: Main server
cmd: ssh server-main
Then run ginbin
It is also possible to have project-specific commands. Just put another .ginbin.yml inside current dir.