Sha256: be03259908fd52453e59780f306a32ff053aca60b74523ecdf00d2d7855bc2ea
Contents?: true
Size: 656 Bytes
Versions: 5
Compression:
Stored size: 656 Bytes
Contents
require 'vagrant-openstack-provider/command/utils' require 'vagrant-openstack-provider/command/abstract_command' module VagrantPlugins module Openstack module Command class ImageList < AbstractCommand include VagrantPlugins::Openstack::Command::Utils def self.synopsis I18n.t('vagrant_openstack.command.image_list_synopsis') end def cmd(name, argv, env) fail Errors::NoArgRequiredForCommand, cmd: name unless argv.size == 0 || argv == ['--'] images = env[:openstack_client].nova.get_all_images(env) display_item_list(env, images) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems