Class: VagrantPlugins::Rackspace::Command::Servers
- Inherits:
-
Object
- Object
- VagrantPlugins::Rackspace::Command::Servers
- Defined in:
- lib/vagrant-rackspace/command/servers.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/vagrant-rackspace/command/servers.rb', line 5 def execute = {} opts = OptionParser.new do |o| o. = "Usage: vagrant rackspace servers [options]" end argv = (opts) return if !argv with_target_vms(argv, :provider => :rackspace) do |machine| machine.action('list_servers') end end |