Module: ThreeScaleToolbox::Commands::ServiceCommand

Includes:
ThreeScaleToolbox::Command
Defined in:
lib/3scale_toolbox/commands/service_command.rb,
lib/3scale_toolbox/commands/service_command/copy_command.rb,
lib/3scale_toolbox/commands/service_command/list_command.rb,
lib/3scale_toolbox/commands/service_command/show_command.rb,
lib/3scale_toolbox/commands/service_command/apply_command.rb,
lib/3scale_toolbox/commands/service_command/create_command.rb,
lib/3scale_toolbox/commands/service_command/delete_command.rb,
lib/3scale_toolbox/commands/service_command/copy_command/task.rb,
lib/3scale_toolbox/commands/service_command/copy_command/copy_limits_task.rb,
lib/3scale_toolbox/commands/service_command/copy_command/copy_methods_task.rb,
lib/3scale_toolbox/commands/service_command/copy_command/copy_metrics_task.rb,
lib/3scale_toolbox/commands/service_command/copy_command/copy_policies_task.rb,
lib/3scale_toolbox/commands/service_command/copy_command/copy_app_plans_task.rb,
lib/3scale_toolbox/commands/service_command/copy_command/copy_activedocs_task.rb,
lib/3scale_toolbox/commands/service_command/copy_command/copy_pricingrules_task.rb,
lib/3scale_toolbox/commands/service_command/copy_command/bump_proxy_version_task.rb,
lib/3scale_toolbox/commands/service_command/copy_command/copy_mapping_rules_task.rb,
lib/3scale_toolbox/commands/service_command/copy_command/copy_service_proxy_task.rb,
lib/3scale_toolbox/commands/service_command/copy_command/destroy_mapping_rules_task.rb,
lib/3scale_toolbox/commands/service_command/copy_command/create_or_update_service_task.rb

Defined Under Namespace

Modules: CopyCommand Classes: ApplySubcommand, CopySubcommand, CreateSubcommand, CustomPrinter, DeleteSubcommand, ListSubcommand, ShowSubcommand

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



15
16
17
18
19
20
21
22
23
24
25
26
# File 'lib/3scale_toolbox/commands/service_command.rb', line 15

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

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