Module: ThreeScaleToolbox::Commands::CopyCommand

Includes:
ThreeScaleToolbox::Command
Defined in:
lib/3scale_toolbox/commands/copy_command.rb,
lib/3scale_toolbox/commands/copy_command/service_command.rb

Defined Under Namespace

Classes: ServiceSubcommand

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

def self.command
  Cri::Command.define do
    name        'copy'
    usage       'copy <sub-command> [options]'
    summary     'copy super command'
    description 'Copy 3scale entities between tenants'

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