Sha256: 8256e17399b2e78fcfa72683b4b8672f34d3a9f94551006614c13b23975f84e6

Contents?: true

Size: 407 Bytes

Versions: 1

Compression:

Stored size: 407 Bytes

Contents

class SupercoolCommand < Cri::CommandRunner
  include ThreeScaleToolbox::Command

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

  def run
    puts 'Doing lots of things!'
  end
end
ThreeScaleToolbox::CLI.add_command(SupercoolCommand)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
3scale_toolbox_supercool_plugin-1.0.0 lib/3scale_toolbox_plugin.rb