Sha256: a15257779e1e9fcc049b6dd7635adf87a69f5a7af5fbdb3bdaa738ac93ae5007
Contents?: true
Size: 872 Bytes
Versions: 40
Compression:
Stored size: 872 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 => [ :id, :type, :owner, :created_at, :status, :locked, :arch, :name, :description, :username, :virtual_size, :disk_size, :public, :"compatibility_mode", :official, :ancestor_id, :licence_name ] } table_opts = global_options.merge(display_options) render_table(images, table_opts) end end end end
Version data entries
40 entries across 40 versions & 1 rubygems