Class: SupercoolCommand

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.commandObject



4
5
6
7
8
9
10
11
12
# File 'lib/3scale_toolbox_plugin.rb', line 4

def self.command
  Cri::Command.define do
    name        'supercool'
    usage       'supercool [options]'
    summary     '3scale supercool'
    description '3scale supercool command'
    runner SupercoolCommand
  end
end

Instance Method Details

#runObject



14
15
16
# File 'lib/3scale_toolbox_plugin.rb', line 14

def run
  puts 'Doing lots of things!'
end