Module: ThreeScaleToolbox::Commands::ApplicationCommand

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

Defined Under Namespace

Modules: Apply, Create, Delete, List, Show

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



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

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

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