Sha256: 3bf9ce1adfdb757e1793d47ac13a7d0776926f8cfb3cabe5aa140b91d4cbe7dd

Contents?: true

Size: 374 Bytes

Versions: 13

Compression:

Stored size: 374 Bytes

Contents

module Brightbox
  command [:volumes] do |cmd|
    cmd.default_command :list

    cmd.desc I18n.t("volumes.list.desc")
    cmd.arg_name I18n.t("volumes.args.optional")

    cmd.command [:list] do |c|
      c.action do |global_options, _options, args|
        volumes = Volume.find_all_or_warn(args)

        render_table(volumes, global_options)
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
brightbox-cli-5.0.0 lib/brightbox-cli/commands/volumes/list.rb
brightbox-cli-5.0.0.rc2 lib/brightbox-cli/commands/volumes/list.rb
brightbox-cli-5.0.0.rc1 lib/brightbox-cli/commands/volumes/list.rb
brightbox-cli-5.0.0.alpha lib/brightbox-cli/commands/volumes/list.rb
brightbox-cli-4.8.0 lib/brightbox-cli/commands/volumes/list.rb
brightbox-cli-4.7.0 lib/brightbox-cli/commands/volumes/list.rb
brightbox-cli-4.6.0 lib/brightbox-cli/commands/volumes/list.rb
brightbox-cli-4.5.0 lib/brightbox-cli/commands/volumes/list.rb
brightbox-cli-4.5.0.rc1 lib/brightbox-cli/commands/volumes/list.rb
brightbox-cli-4.4.0 lib/brightbox-cli/commands/volumes/list.rb
brightbox-cli-4.3.2 lib/brightbox-cli/commands/volumes/list.rb
brightbox-cli-4.3.1 lib/brightbox-cli/commands/volumes/list.rb
brightbox-cli-4.3.0 lib/brightbox-cli/commands/volumes/list.rb