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/export_command.rb,
lib/3scale_toolbox/commands/product_command/import_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, ExportSubcommand, ImportSubcommand

Class Method Summary collapse

Methods included from ThreeScaleToolbox::Command

#config, #config_file, #exit_with_message, #fetch_required_option, included, #keep_alive, #remotes, #threescale_client, #verbose, #verify_ssl

Class Method Details

.commandObject



9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/3scale_toolbox/commands/product_command.rb', line 9

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