Class: SupercoolCommand
- Inherits:
-
Cri::CommandRunner
- Object
- Cri::CommandRunner
- SupercoolCommand
- Includes:
- ThreeScaleToolbox::Command
- Defined in:
- lib/3scale_toolbox_plugin.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.command ⇒ Object
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
#run ⇒ Object
14 15 16 |
# File 'lib/3scale_toolbox_plugin.rb', line 14 def run puts 'Doing lots of things!' end |