Sha256: 6039f8f08652d813f8f35ad062a27d2af75e2d7d3749b1761e0486f04bc9d663

Contents?: true

Size: 752 Bytes

Versions: 1

Compression:

Stored size: 752 Bytes

Contents

# Ginbin

Build interactive menu from most used shell commands.

## Install

```bash
gem install ginbin
```

## Usage

Create config ~/.ginbin.yml:

```yaml
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.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ginbin-1.0.1 README.md