Project

ginbin

0.0
No release in over a year
Menu from your most used commands
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Ginbin

Build interactive menu from most used shell commands.

Install

gem install ginbin

Usage

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.