Sha256: 9d64ba2bb0e48e0bc6062eaaa4e3bd7018b60e7ae77b533430b181ed427dce39

Contents?: true

Size: 414 Bytes

Versions: 5

Compression:

Stored size: 414 Bytes

Contents

desc 'Show detailed image info'
arg_name 'image-id...'
command [:show] do |c|

  c.action do |global_options,options,args|

    images = Image.find(args).compact

    table_opts = global_options.merge({
      :vertical => true,
      :fields => [:id, :type, :owner, :created_at, :status, :arch, :name, :description, :virtual_size, :disk_size, :ancestor_id ]
    })

    render_table(images, table_opts)

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bbcloud-0.8.2 lib/bbcloud/commands/images-show.rb
bbcloud-0.8.1 lib/bbcloud/commands/images-show.rb
bbcloud-0.8 lib/bbcloud/commands/images-show.rb
bbcloud-0.7 lib/bbcloud/commands/images-show.rb
bbcloud-0.6.2 lib/bbcloud/commands/images-show.rb