Sha256: 1920125394565075a92d2ca74f269b5451704bfec43699748f70d7ae347d4801

Contents?: true

Size: 768 Bytes

Versions: 3

Compression:

Stored size: 768 Bytes

Contents

require '3scale_toolbox/commands/proxy_command/update_command'
require '3scale_toolbox/commands/proxy_command/deploy_command'
require '3scale_toolbox/commands/proxy_command/show_command'

module ThreeScaleToolbox
  module Commands
    module ProxyCommand
      include ThreeScaleToolbox::Command

      def self.command
        Cri::Command.define do
          name        'proxy'
          usage       'proxy <sub-command> [options]'
          summary     'proxy super command'
          description 'APIcast configuration commands'

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

      add_subcommand(UpdateSubcommand)
      add_subcommand(DeploySubcommand)
      add_subcommand(ShowSubcommand)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
3scale_toolbox-1.0.1 lib/3scale_toolbox/commands/proxy_command.rb
3scale_toolbox-1.0.0 lib/3scale_toolbox/commands/proxy_command.rb
3scale_toolbox-0.20.0 lib/3scale_toolbox/commands/proxy_command.rb