Class: VagrantPlugins::ESXi::SnapshotInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-vmware-esxi/command.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.synopsisObject



7
8
9
# File 'lib/vagrant-vmware-esxi/command.rb', line 7

def self.synopsis
    "Snapshot additional information."
end

Instance Method Details

#executeObject



10
11
12
13
14
15
16
17
18
19
20
# File 'lib/vagrant-vmware-esxi/command.rb', line 10

def execute
  opts = OptionParser.new do |o|
    o.banner = "Usage: vagrant snapshot-info [name]"
  end

  argv = parse_options(opts)

  with_target_vms(argv) do |machine|
    machine.action(:snapshot_info)
  end
end