Sha256: 851e4bd25400ffbaa12ce49871c5aa051ebf85c886edffa8a0f39407d6beb117
Contents?: true
Size: 465 Bytes
Versions: 9
Compression:
Stored size: 465 Bytes
Contents
module Brightbox command [:volumes] do |cmd| cmd.desc I18n.t("volumes.show.desc") cmd.arg_name I18n.t("volumes.args.optional") cmd.command [:show] do |c| c.action do |global_options, _options, args| volumes = Volume.find_all_or_warn(args) table_opts = global_options.merge( :vertical => true, :fields => Volume.detailed_fields ) render_table(volumes, table_opts) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems