Sha256: 69abf09e9b2365c5f54d1f93f11a90d48ed86d622c02ca18eb137e775a56c5ee

Contents?: true

Size: 889 Bytes

Versions: 8

Compression:

Stored size: 889 Bytes

Contents

require 'cri'
require '3scale_toolbox/base_command'
require '3scale_toolbox/commands/proxy_config_command/list_command'
require '3scale_toolbox/commands/proxy_config_command/show_command'
require '3scale_toolbox/commands/proxy_config_command/promote_command'

module ThreeScaleToolbox
  module Commands
    module ProxyConfigCommand
      include ThreeScaleToolbox::Command

      def self.command
        Cri::Command.define do
          name        'proxy-config'
          usage       'proxy-config <sub-command> [options]'
          summary     'proxy-config super command'
          description 'Manage your Proxy Configurations'

          run do |_opts, _args, cmd|
            puts cmd.help
          end
        end
      end

      add_subcommand(List::ListSubcommand)
      add_subcommand(Show::ShowSubcommand)
      add_subcommand(Promote::PromoteSubcommand)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
3scale_toolbox-0.16.0 lib/3scale_toolbox/commands/proxy_config_command.rb
3scale_toolbox-0.15.0 lib/3scale_toolbox/commands/proxy_config_command.rb
3scale_toolbox-0.14.0 lib/3scale_toolbox/commands/proxy_config_command.rb
3scale_toolbox-0.13.0 lib/3scale_toolbox/commands/proxy_config_command.rb
3scale_toolbox-0.12.4 lib/3scale_toolbox/commands/proxy_config_command.rb
3scale_toolbox-0.12.3 lib/3scale_toolbox/commands/proxy_config_command.rb
3scale_toolbox-0.12.2 lib/3scale_toolbox/commands/proxy_config_command.rb
3scale_toolbox-0.11.0 lib/3scale_toolbox/commands/proxy_config_command.rb