Module: ThreeScaleToolbox::Commands::ProductCommand

Includes:
ThreeScaleToolbox::Command
Defined in:
lib/3scale_toolbox/commands/product_command.rb,
lib/3scale_toolbox/commands/product_command/copy_command.rb,
lib/3scale_toolbox/commands/product_command/copy_command/copy_backends_task.rb,
lib/3scale_toolbox/commands/product_command/copy_command/delete_target_backend_usages_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/product_command.rb', line 7

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

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