Module: ThreeScaleToolbox::Commands::MethodsCommand

Includes:
ThreeScaleToolbox::Command
Defined in:
lib/3scale_toolbox/commands/methods_command.rb,
lib/3scale_toolbox/commands/methods_command/list_command.rb,
lib/3scale_toolbox/commands/methods_command/apply_command.rb,
lib/3scale_toolbox/commands/methods_command/create_command.rb,
lib/3scale_toolbox/commands/methods_command/delete_command.rb

Defined Under Namespace

Modules: Apply, Create, Delete, List

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



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

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

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