Class: Terraspace::CLI::Down

Inherits:
Base
  • Object
show all
Includes:
TfcConcern
Defined in:
lib/terraspace/cli/down.rb

Instance Method Summary collapse

Methods included from TfcConcern

#backend, #tfc?

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



5
6
7
8
# File 'lib/terraspace/cli/down.rb', line 5

def run
  plan if @options[:yes] && !tfc?
  destroy
end