Class: SimplyGenius::Atmos::Commands::Init

Inherits:
Terraform show all
Defined in:
lib/simplygenius/atmos/commands/init.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



11
12
13
# File 'lib/simplygenius/atmos/commands/init.rb', line 11

def self.description
  "Runs terraform init"
end

Instance Method Details

#executeObject



15
16
17
18
19
20
# File 'lib/simplygenius/atmos/commands/init.rb', line 15

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

  init_shared_plugins
end