Sha256: 1df2e3e1ca49ac39b0b0b34aaf113791dd040a14bfd9620a9d202f6ad12e166f

Contents?: true

Size: 519 Bytes

Versions: 1

Compression:

Stored size: 519 Bytes

Contents

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

          argv = parse_options(opts)
          return if !argv

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