Class: Terraspace::CLI::State

Inherits:
Base
  • Object
show all
Defined in:
lib/terraspace/cli/state.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods included from Util::Pretty

#pretty_path, #pretty_time

Methods included from Util::Sure

#sure?

Methods included from Util::Logging

#logger

Constructor Details

This class inherits a constructor from Terraspace::CLI::Base

Instance Method Details

#runObject



3
4
5
6
7
8
# File 'lib/terraspace/cli/state.rb', line 3

def run
  @name = "state #{@options[:subcommand]}" # command name. IE: state list
  Terraspace::Builder.new(@options).run
  Init.new(@options).run
  Terraspace::Terraform::Runner.new(@name, @options).run
end