Sha256: 052fe4b0f10055a4f0fdaed88c61655cc8880968f418bd1b20ed8558339a691e

Contents?: true

Size: 475 Bytes

Versions: 2

Compression:

Stored size: 475 Bytes

Contents

module VagrantPlugins
  module Rimu
    module Commands
      class ListServers < Vagrant.plugin('2', :command)
        def execute
          opts = OptionParser.new do |o|
            o.banner = 'Usage: vagrant rimu servers [options]'
          end
          argv = parse_options(opts)
          return unless argv
          with_target_vms(argv, provider: :rimu) do |machine|
            machine.action('list_servers')
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-rimu-0.0.2 lib/vagrant-rimu/commands/list_servers.rb
vagrant-rimu-0.0.1 lib/vagrant-rimu/commands/list_servers.rb