Skip to content

Launch shuttle.json commands from command line

Matt Turner edited this page Mar 18, 2016 · 2 revisions

@hendricius has created a terminal version of the shuttle client. shuttle_cli uses the same .shuttle.json configuration file.

$ shuttle
+--------+---------------------------------------------------------------------+
| number | name                 | command                                       |
+--------+----------------------+-----------------------------------------------+
| 1      | Zeit.io              | ssh [email protected]                               |
| 2      | Client X             | ssh [email protected]                               |
| 3      | Trapserver           | ssh [email protected]                             |
+--------+----------------------+-----------------------------------------------+

Enter a bookmark number to connect:
$ 3

connecting....

Installation

You will need Ruby 2 installed on your mac. If you don't have it, have a look at rbenv and ruby-build

Install it yourself as:

$ gem install shuttle_cli

Make sure to rehash your environment:

$ rbenv rehash

The source of the gem can be found at: https://github.com/hendricius/shuttle-cli