Sha256: 0090bc2d52a901798d3f22c9df108f5d37f2ffd9255452fd1dd1fda10724deee
Contents?: true
Size: 857 Bytes
Versions: 14
Compression:
Stored size: 857 Bytes
Contents
module Brightbox command [:images] do |cmd| cmd.desc I18n.t("images.show.desc") cmd.arg_name "image-id..." cmd.command [:show] do |c| c.action do |global_options, _options, args| images = Image.find_all_or_warn(args) display_options = { :vertical => true, :fields => %i[ id type owner created_at status locked arch name description username virtual_size disk_size public compatibility_mode official ancestor_id licence_name min_ram ] } table_opts = global_options.merge(display_options) render_table(images, table_opts) end end end end
Version data entries
14 entries across 14 versions & 1 rubygems