Skip to content

Instantly share code, notes, and snippets.

View randyleighton's full-sized avatar
☺️
Build It! Release It!

Randy Leighton randyleighton

☺️
Build It! Release It!
  • G5
  • Bend
View GitHub Profile
@randyleighton
randyleighton / kube_commands.rb
Created February 1, 2019 23:10 — forked from levibrown/kube_commands.rb
a cli for common g5 kube commands
#!/usr/bin/env ruby
# Setup:
# 1) `gem install highline`
# 2) save this file to a local folder
# 3) rename the file to remove extension `mv kube_commands.rb kube_commands`
# 4) change permissions `chmod 755 kube_commands`
# 5) link to your /usr/local/bin `ln -s $PWD/kube_commands /usr/local/bin/`
# 6) in a new shell you should now be able to run `kube_commands`
# 7) add new commands and add to this gist