Sha256: e76e552a63f4bf29002d255a9b00adf8dee239683e51a5fb59469b9ac84ecf3c

Contents?: true

Size: 358 Bytes

Versions: 18

Compression:

Stored size: 358 Bytes

Contents

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

    cmd.desc I18n.t("cloudips.list.desc")
    cmd.arg_name "[cloudip-id...]"
    cmd.command [:list] do |c|
      c.action do |global_options, _options, args|
        ips = CloudIP.find_all_or_warn(args)
        render_table(ips.sort, global_options)
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

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