Sha256: dd54dd95c3891a7868f5b0382b85643059f6c8d6f3a3740a4f00bf4130b8d40b
Contents?: true
Size: 513 Bytes
Versions: 53
Compression:
Stored size: 513 Bytes
Contents
#!/usr/bin/env ruby $:.unshift(File.join(File.dirname(__FILE__), "..", "lib")) require "poolparty" require "poolpartycl" @command = ARGV[-1] || "" o = PoolParty::Optioner.new(ARGV) do |opts, optioner| opts.on('-c command', '--command command', 'Command to run') { |c| optioner.command c } end @command,@args = Arr.split(" ")[0], Arr.split(" ")[1..-1] o.loaded_clouds do |cloud| with_cloud(cloud, {:command => @command, :command_args => @args}) do cloud.send command.to_sym, command_args end end
Version data entries
53 entries across 53 versions & 3 rubygems