Class: VagrantPlugins::Rimu::Commands::Rebuild

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-rimu/commands/rebuild.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.synopsisObject



5
6
7
# File 'lib/vagrant-rimu/commands/rebuild.rb', line 5

def self.synopsis
  I18n.t('vagrant_rimu.commands.rebuild')
end

Instance Method Details

#executeObject



9
10
11
12
13
14
# File 'lib/vagrant-rimu/commands/rebuild.rb', line 9

def execute
  with_target_vms(nil, provider: :rimu) do |machine|
    machine.action(:rebuild)
  end
  0
end