Sha256: 3266ecbf77d00424b78c44242d149cbde1adfc6e7e1d242fd3c9938b30403b55

Contents?: true

Size: 374 Bytes

Versions: 24

Compression:

Stored size: 374 Bytes

Contents

class Terraspace::CLI
  class Commander < Base
    def initialize(name, options={})
      @name = name
      super(options)
    end

    def run
      Terraspace::Builder.new(@options).run unless @options[:build] # Up already ran build
      Init.new(@options.merge(calling_command: @name)).run
      Terraspace::Terraform::Runner.new(@name, @options).run
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
terraspace-0.3.4 lib/terraspace/cli/commander.rb
terraspace-0.3.3 lib/terraspace/cli/commander.rb
terraspace-0.3.2 lib/terraspace/cli/commander.rb
terraspace-0.3.1 lib/terraspace/cli/commander.rb