Module: ThreeScaleToolbox::Commands::BackendCommand

Includes:
ThreeScaleToolbox::Command
Defined in:
lib/3scale_toolbox/commands/backend_command.rb,
lib/3scale_toolbox/commands/backend_command/copy_command.rb,
lib/3scale_toolbox/commands/backend_command/copy_command/task.rb,
lib/3scale_toolbox/commands/backend_command/copy_command/copy_methods_task.rb,
lib/3scale_toolbox/commands/backend_command/copy_command/copy_metrics_task.rb,
lib/3scale_toolbox/commands/backend_command/copy_command/copy_mapping_rules_task.rb,
lib/3scale_toolbox/commands/backend_command/copy_command/create_or_update_target_backend_task.rb

Defined Under Namespace

Modules: CopyCommand Classes: CopySubcommand

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/backend_command.rb', line 7

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

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