Module: ThreeScaleToolbox::Commands::PolicyRegistryCommand

Includes:
ThreeScaleToolbox::Command
Defined in:
lib/3scale_toolbox/commands/policy_registry_command.rb,
lib/3scale_toolbox/commands/policy_registry_command/copy_command.rb

Defined Under Namespace

Modules: Copy

Class Method Summary collapse

Methods included from ThreeScaleToolbox::Command

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

Class Method Details

.commandObject



7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/3scale_toolbox/commands/policy_registry_command.rb', line 7

def self.command
  Cri::Command.define do
    name        'policy-registry'
    usage       'policy-registry <sub-command> [options]'
    summary     'policy-registry super command'
    description 'Pôlicy Registry commands'

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