Class: Batali::Command::Update
- Inherits:
-
Batali::Command
- Object
- Bogo::Cli::Command
- Batali::Command
- Batali::Command::Update
- Defined in:
- lib/batali/command/update.rb
Overview
Update cookbook manifest
Constant Summary
Constants inherited from Batali::Command
Instance Method Summary collapse
Methods inherited from Batali::Command
#batali_file, #cache_directory, #dry_run, #infrastructure?, #initialize, #manifest
Constructor Details
This class inherits a constructor from Batali::Command
Instance Method Details
#execute! ⇒ Object
9 10 11 12 13 14 |
# File 'lib/batali/command/update.rb', line 9 def execute! Resolve.new(config.merge(:ui => ui), arguments).execute! if(opts[:install]) Install.new(config.merge(:ui => ui, :install => {}), arguments).execute! end end |