Module: ThreeScaleToolbox::Commands::ActiveDocsCommand

Includes:
ThreeScaleToolbox::Command
Defined in:
lib/3scale_toolbox/commands/activedocs_command.rb,
lib/3scale_toolbox/commands/activedocs_command/list_command.rb,
lib/3scale_toolbox/commands/activedocs_command/apply_command.rb,
lib/3scale_toolbox/commands/activedocs_command/create_command.rb,
lib/3scale_toolbox/commands/activedocs_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



13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/3scale_toolbox/commands/activedocs_command.rb', line 13

def self.command
  Cri::Command.define do
    name        'activedocs'
    usage       'activedocs <sub-command> [options]'
    summary     'activedocs super command'
    description 'Manage your ActiveDocs'

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