Class: Terraspace::CLI::Up
- Includes:
- TfcConcern
- Defined in:
- lib/terraspace/cli/up.rb
Instance Method Summary collapse
Methods included from TfcConcern
Methods inherited from Base
Methods included from Util::Pretty
Methods included from Util::Sure
Methods included from Util::Logging
Constructor Details
This class inherits a constructor from Terraspace::CLI::Base
Instance Method Details
#run ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/terraspace/cli/up.rb', line 7 def run build if [:yes] && ![:plan] && !tfc? plan Commander.new("apply", .merge(plan: plan_path)).run else Commander.new("apply", ).run end end |