Class: ThreeScaleToolbox::Commands::RemoteCommand::RemoteCommand

Inherits:
Cri::CommandRunner
  • Object
show all
Includes:
ThreeScaleToolbox::Command
Defined in:
lib/3scale_toolbox/commands/remote_command.rb

Class Method Summary collapse

Instance 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



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

def self.command
  Cri::Command.define do
    name        'remote'
    usage       'remote <sub-command> [options]'
    summary     'remotes super command'
    description 'Manage your remotes'
    runner RemoteCommand
  end
end

Instance Method Details

#runObject



22
23
24
# File 'lib/3scale_toolbox/commands/remote_command.rb', line 22

def run
  puts command.help
end