Sha256: 82f198b75b8b16e60abd8324c0444f4fd2ea1f1372fd3310e1a451a9ec2e25c3
Contents?: true
Size: 438 Bytes
Versions: 5
Compression:
Stored size: 438 Bytes
Contents
desc 'Show detailed type info' arg_name 'type-id...' command [:show] do |c| c.action do |global_options,options,args| types = Type.find(args) rows = [] types.each do |t| next if t.nil? rows << t end table_opts = global_options.merge({ :vertical => true, :fields => [:id, :handle, :status, :name, :ram, :disk, :cores, :description] }) render_table(rows, table_opts) end end
Version data entries
5 entries across 5 versions & 1 rubygems