Class: VagrantPlugins::Linode::Commands::ListVolumes
- Inherits:
-
Object
- Object
- VagrantPlugins::Linode::Commands::ListVolumes
- Defined in:
- lib/vagrant-linode/commands/list_volumes.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/vagrant-linode/commands/list_volumes.rb', line 5 def execute opts = OptionParser.new do |o| o. = 'Usage: vagrant linode volumes list [options]' end argv = (opts) return unless argv with_target_vms(argv) do |machine| machine.action(:list_volumes) end end |