Sha256: c45eff69040145d1a3b6aaeac19a84ccbe76ebc9f3b2d5044bf34eba167c33ab

Contents?: true

Size: 516 Bytes

Versions: 4

Compression:

Stored size: 516 Bytes

Contents

module VagrantPlugins
  module Rackspace
    module Command
      class ListImages < Vagrant.plugin("2", :command)
        def execute
          options = {}
          opts = OptionParser.new do |o|
            o.banner = "Usage: vagrant rackspace images list [options]"
          end

          argv = parse_options(opts)
          return if !argv

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vagrant-rackspace-0.1.10 lib/vagrant-rackspace/command/list_images.rb
vagrant-rackspace-0.1.9 lib/vagrant-rackspace/command/list_images.rb
vagrant-rackspace-0.1.8 lib/vagrant-rackspace/command/list_images.rb
vagrant-rackspace-0.1.7 lib/vagrant-rackspace/command/list_images.rb