Sha256: b9591f011f881b64e3369b11b1e2afd127b0c01089707789636b5369616a5903

Contents?: true

Size: 522 Bytes

Versions: 1

Compression:

Stored size: 522 Bytes

Contents

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

          argv = parse_options(opts)
          return if !argv

          with_target_vms(argv, :provider => :profitbricks) do |machine|
            machine.action('list_networks')
          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/networks.rb