Module: ThreeScaleToolbox::Commands::PoliciesCommand

Includes:
ThreeScaleToolbox::Command
Defined in:
lib/3scale_toolbox/commands/policies_command.rb,
lib/3scale_toolbox/commands/policies_command/export_command.rb,
lib/3scale_toolbox/commands/policies_command/import_command.rb

Defined Under Namespace

Classes: ExportSubcommand, ImportSubcommand

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



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

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

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