Sha256: e55be291bf8408e2c9811b4e6cf528150f6cbf3fa8c385149aa563fcce8d7a1e

Contents?: true

Size: 519 Bytes

Versions: 1

Compression:

Stored size: 519 Bytes

Contents

module VagrantPlugins
  module ProfitBricks
    module Command
      class Servers < Vagrant.plugin("2", :command)
        def execute
          options = {}
          opts = OptionParser.new do |o|
            o.banner = "Usage: vagrant profitbricks servers [options]"
          end

          argv = parse_options(opts)
          return if !argv

          with_target_vms(argv, :provider => :profitbricks) do |machine|
            machine.action('list_servers')
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-profitbricks-1.0.0 lib/vagrant-profitbricks/command/servers.rb