Sha256: af2f1d8fe2c8940ebf97d49ad015ea83dd8ebb917c733fdf4fd5b361f5e41119

Contents?: true

Size: 373 Bytes

Versions: 14

Compression:

Stored size: 373 Bytes

Contents

module Brightbox
  desc I18n.t("users.desc")
  command [:users] do |cmd|
    cmd.default_command :list

    cmd.desc I18n.t("users.list.desc")
    cmd.arg_name "[user-id...]"
    cmd.command [:list] do |c|
      c.action do |global_options, _options, args|
        users = User.find_all_or_warn(args)
        render_table(users, global_options)
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
brightbox-cli-4.8.0 lib/brightbox-cli/commands/users/list.rb
brightbox-cli-4.7.0 lib/brightbox-cli/commands/users/list.rb
brightbox-cli-4.6.0 lib/brightbox-cli/commands/users/list.rb
brightbox-cli-4.5.0 lib/brightbox-cli/commands/users/list.rb
brightbox-cli-4.5.0.rc1 lib/brightbox-cli/commands/users/list.rb
brightbox-cli-4.4.0 lib/brightbox-cli/commands/users/list.rb
brightbox-cli-4.3.2 lib/brightbox-cli/commands/users/list.rb
brightbox-cli-4.3.1 lib/brightbox-cli/commands/users/list.rb
brightbox-cli-4.3.0 lib/brightbox-cli/commands/users/list.rb
brightbox-cli-4.2.1 lib/brightbox-cli/commands/users/list.rb
brightbox-cli-4.2.0 lib/brightbox-cli/commands/users/list.rb
brightbox-cli-4.1.0 lib/brightbox-cli/commands/users/list.rb
brightbox-cli-4.0.0 lib/brightbox-cli/commands/users/list.rb
brightbox-cli-4.0.0.rc2 lib/brightbox-cli/commands/users/list.rb