Module: ThreeScaleToolbox::Commands::ProxyCommand

Includes:
ThreeScaleToolbox::Command
Defined in:
lib/3scale_toolbox/commands/proxy_command.rb,
lib/3scale_toolbox/commands/proxy_command/show_command.rb,
lib/3scale_toolbox/commands/proxy_command/deploy_command.rb,
lib/3scale_toolbox/commands/proxy_command/update_command.rb

Defined Under Namespace

Classes: DeploySubcommand, ShowSubcommand, UpdateSubcommand

Class Method Summary collapse

Methods included from ThreeScaleToolbox::Command

#config, #config_file, #exit_with_message, #fetch_required_option, included, #keep_alive, #remotes, #threescale_client, #verbose, #verify_ssl

Class Method Details

.commandObject



10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/3scale_toolbox/commands/proxy_command.rb', line 10

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