Sha256: c596d6265951667bb2343f5e73b8624c58b8949efd557cfd4a1bd18b7e233fbf
Contents?: true
Size: 589 Bytes
Versions: 6
Compression:
Stored size: 589 Bytes
Contents
desc 'Show detailed image info' arg_name 'image-id...' command [:show] do |c| c.action do |global_options,options,args| if args.empty? raise "You must specify the images you want to show" end images = Image.find_or_call(args) do |id| warn "Couldn't find image #{id}" end table_opts = global_options.merge({ :vertical => true, :fields => [:id, :type, :owner, :created_at, :status, :arch, :name, :description, :virtual_size, :disk_size, "compatibility_mode", :official, :ancestor_id ] }) render_table(images, table_opts) end end
Version data entries
6 entries across 6 versions & 1 rubygems