Sha256: e8c0f869fcdf3ca7b47aef65d318c9baf0e424a666be5d60d8627405c596eb95

Contents?: true

Size: 784 Bytes

Versions: 19

Compression:

Stored size: 784 Bytes

Contents

#!/usr/bin/env ruby
$:.unshift(File.dirname(__FILE__) + "/../lib")
require "poolparty"

require 'git-style-binary/command'

GitStyleBinary.command do
  banner <<-EOS
Usage: #{$0} #{all_options_string}

  Configure a cloud instance
EOS

  short_desc "Configure a cloud instance"
  
  opt :inst_num, "The number of the instance to run bootstrap on", :type => :int
  opt :generate_graph, "Generate the dependency tree graph", :type => :string, :default => nil

  run do |command|
    
    @loaded_clouds.each do |cld|
      
      cld.compile
      
      if command[:generate_graph]
        vputs "Generating dependency graph at: #{command[:generate_graph]}"
        cld.output_resources_graph('png', command[:generate_graph], {"fontsize" => 30})
      end
      
    end
    
  end
end

Version data entries

19 entries across 19 versions & 3 rubygems

Version Path
auser-poolparty-1.3.10 bin/cloud-compile
auser-poolparty-1.3.11 bin/cloud-compile
auser-poolparty-1.3.12 bin/cloud-compile
auser-poolparty-1.3.13 bin/cloud-compile
auser-poolparty-1.3.2 bin/cloud-compile
auser-poolparty-1.3.3 bin/cloud-compile
auser-poolparty-1.3.4 bin/cloud-compile
auser-poolparty-1.3.5 bin/cloud-compile
auser-poolparty-1.3.6 bin/cloud-compile
auser-poolparty-1.3.7 bin/cloud-compile
auser-poolparty-1.3.8 bin/cloud-compile
fairchild-poolparty-1.3.5 bin/cloud-compile
poolparty-1.3.13 bin/cloud-compile
poolparty-1.3.8 bin/cloud-compile
poolparty-1.3.7 bin/cloud-compile
poolparty-1.3.6 bin/cloud-compile
poolparty-1.3.4 bin/cloud-compile
poolparty-1.3.3 bin/cloud-compile
poolparty-1.3.1 bin/cloud-compile