Skip to content

Instantly share code, notes, and snippets.

@zol
Last active August 29, 2015 14:06
Show Gist options
  • Save zol/07d3c937a6568e28c2df to your computer and use it in GitHub Desktop.
Save zol/07d3c937a6568e28c2df to your computer and use it in GitHub Desktop.
Ground Control CLI
#!/usr/bin/env bash
#
# Ground Control CLI
# Copyright Percolate Studio 2014
if [ $# -gt 0 ]; then
ssh -t -x $1@build.gcontrol.io gcontrol ${*:2}
else
echo "Ground Control CLI"
echo "Usage: gcontrol.sh <app> [command] [arguments]"
printf "\n"
echo "For help on available commands, just pass the app parameter (e.g 'gcontrol.sh my_app')"
fi
@zol
Copy link
Author

zol commented Sep 12, 2014

To install:

curl https://gist.githubusercontent.com/zol/07d3c937a6568e28c2df/raw/e7e06c192bd30cb837524d3843b479c5a3721547/gcontrol.sh > /somewhere_in_your_path/gcontrol
chmod +x /somewhere_in_your_path/gcontrol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment