blob: b7ec0790c1cf7da9c643b91d01c236adf07b1ab9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/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
|