12345678910111213141516171819202122232425 |
- #!/usr/bin/env ruby
- require 'thor'
- require_relative 'lib/gce_command'
- # Don't buffer output to the client
- STDOUT.sync = true
- STDERR.sync = true
- module OpenShift
- module Ops
- class CloudCommand < Thor
- desc 'gce', 'Manages Google Compute Engine assets'
- subcommand "gce", GceCommand
- end
- end
- end
- if __FILE__ == $0
- SCRIPT_DIR = File.expand_path(File.dirname(__FILE__))
- Dir.chdir(SCRIPT_DIR) do
- # Kick off thor
- OpenShift::Ops::CloudCommand.start(ARGV)
- end
- end
|