Sha256: b5bce557a3d9afcdd7d9325a9e95e9d89dd3f6d37cfad3fa1741597d2322ce54
Contents?: true
Size: 781 Bytes
Versions: 26
Compression:
Stored size: 781 Bytes
Contents
#!/usr/bin/env ruby $:.unshift(File.dirname(__FILE__) + "/../lib") require "poolparty" require 'git-style-binary/command' GitStyleBinary.command do @theme = :short version "PoolParty #{$0} command" banner <<-EOS Usage: #{$0} #{all_options_string} shows output about the clouds.rb EOS short_desc "shows output about the clouds.rb" run do |command| @loaded_clouds.each do |cld| msg = [ "Cloud: #{cld.name}", "----------------------------", "Instances: #{cld.nodes(:status => "running").size}", "Minimum instances: #{cld.minimum_instances}", "Maximum instances: #{cld.maximum_instances}", "Running on: #{cld.cloud_provider_name}" ] print_msg(msg) end end end
Version data entries
26 entries across 26 versions & 3 rubygems