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.5.12 lib/terraspace/cli/commander.rb
terraspace-0.5.11 lib/terraspace/cli/commander.rb
terraspace-0.5.10 lib/terraspace/cli/commander.rb
terraspace-0.5.9 lib/terraspace/cli/commander.rb
terraspace-0.5.8 lib/terraspace/cli/commander.rb
terraspace-0.5.7 lib/terraspace/cli/commander.rb
terraspace-0.5.6 lib/terraspace/cli/commander.rb
terraspace-0.5.5 lib/terraspace/cli/commander.rb
terraspace-0.5.4 lib/terraspace/cli/commander.rb
terraspace-0.5.3 lib/terraspace/cli/commander.rb
terraspace-0.5.2 lib/terraspace/cli/commander.rb
terraspace-0.5.1 lib/terraspace/cli/commander.rb
terraspace-0.5.0 lib/terraspace/cli/commander.rb
terraspace-0.4.4 lib/terraspace/cli/commander.rb
terraspace-0.4.3 lib/terraspace/cli/commander.rb
terraspace-0.4.2 lib/terraspace/cli/commander.rb
terraspace-0.4.1 lib/terraspace/cli/commander.rb
terraspace-0.4.0 lib/terraspace/cli/commander.rb
terraspace-0.3.6 lib/terraspace/cli/commander.rb
terraspace-0.3.5 lib/terraspace/cli/commander.rb