Sha256: 4080ada292d13905acdde56d6351e7bd5687ce6b0a92806c53ad659be16fc1f3

Contents?: true

Size: 435 Bytes

Versions: 16

Compression:

Stored size: 435 Bytes

Contents

module Mccloud
  module Command
    class UpCommand < Base

      argument :box_name, :type => :string, :optional => true, :default => nil

      register "up [NAME]", "Starts the machine and provisions it"

      def execute
        env.config.providers.each do |name,provider|
          env.logger.debug("Asking provider #{name} to up box #{box_name}")
          provider.up(box_name,options)
        end
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
mccloud-0.1.1 lib/mccloud/command/up.rb
mccloud-0.0.28 lib/mccloud/command/up.rb
mccloud-0.0.27 lib/mccloud/command/up.rb
mccloud-0.0.26 lib/mccloud/command/up.rb
mccloud-0.0.25 lib/mccloud/command/up.rb
mccloud-0.0.24 lib/mccloud/command/up.rb
mccloud-0.0.23 lib/mccloud/command/up.rb
mccloud-0.0.22 lib/mccloud/command/up.rb
mccloud-0.0.21 lib/mccloud/command/up.rb
mccloud-0.0.20 lib/mccloud/command/up.rb
mccloud-0.0.19 lib/mccloud/command/up.rb
mccloud-0.0.18 lib/mccloud/command/up.rb
mccloud-0.0.17 lib/mccloud/command/up.rb
mccloud-0.0.16 lib/mccloud/command/up.rb
mccloud-0.0.15 lib/mccloud/command/up.rb
mccloud-0.0.14 lib/mccloud/command/up.rb