Class: SimplyGenius::Atmos::Commands::Destroy

Inherits:
Terraform show all
Defined in:
lib/simplygenius/atmos/commands/destroy.rb

Instance Attribute Summary

Attributes inherited from Terraform

#auto_init

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Terraform

#init_automatically, #init_shared_plugins, #parse

Methods included from UI

#agree, #ask, #choose, color_enabled, color_enabled=, #display, #error, #notify, #say, #warn

Class Method Details

.descriptionObject



9
10
11
# File 'lib/simplygenius/atmos/commands/destroy.rb', line 9

def self.description
  "Runs terraform destroy"
end

Instance Method Details

#executeObject



13
14
15
16
# File 'lib/simplygenius/atmos/commands/destroy.rb', line 13

def execute
  @terraform_arguments.insert(0, "destroy")
  super
end