Class: VagrantPlugins::ProfitBricks::Command::ListServers
- Inherits:
-
Object
- Object
- VagrantPlugins::ProfitBricks::Command::ListServers
- Defined in:
- lib/vagrant-profitbricks/command/servers.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/vagrant-profitbricks/command/servers.rb', line 7 def execute p 'Garegaer' = {} opts = OptionParser.new do |o| o. = 'Usage: vagrant profitbricks servers [options]' end argv = (opts) return unless argv with_target_vms(argv, provider: :profitbricks) do |machine| machine.action('list_servers') end end |