Sha256: 4d7ba505375e802ab24f68d8fbcbf211b741e38a6a45e95150eca28827e74073

Contents?: true

Size: 1.15 KB

Versions: 10

Compression:

Stored size: 1.15 KB

Contents

require 'cri'
require '3scale_toolbox/base_command'
require '3scale_toolbox/commands/proxy_config_command/helper'
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'
require '3scale_toolbox/commands/proxy_config_command/export_command'
require '3scale_toolbox/commands/proxy_config_command/deploy_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)
      add_subcommand(Export::ExportSubcommand)
      add_subcommand(DeploySubcommand)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
3scale_toolbox-1.0.1 lib/3scale_toolbox/commands/proxy_config_command.rb
3scale_toolbox-1.0.0 lib/3scale_toolbox/commands/proxy_config_command.rb
3scale_toolbox-0.20.0 lib/3scale_toolbox/commands/proxy_config_command.rb
3scale_toolbox-0.19.3 lib/3scale_toolbox/commands/proxy_config_command.rb
3scale_toolbox-0.19.2 lib/3scale_toolbox/commands/proxy_config_command.rb
3scale_toolbox-0.19.1 lib/3scale_toolbox/commands/proxy_config_command.rb
3scale_toolbox-0.19.0 lib/3scale_toolbox/commands/proxy_config_command.rb
3scale_toolbox-0.18.3 lib/3scale_toolbox/commands/proxy_config_command.rb
3scale_toolbox-0.18.2 lib/3scale_toolbox/commands/proxy_config_command.rb
3scale_toolbox-0.18.0 lib/3scale_toolbox/commands/proxy_config_command.rb