Sha256: 2abb71addfef8713a0b15feff1e717cde4b10d6bfd61365541040ca8b378f29e

Contents?: true

Size: 291 Bytes

Versions: 3

Compression:

Stored size: 291 Bytes

Contents

require File.dirname(__FILE__) + '/../runner'

module Gator
  class Command < Thor
    def self.register_command( name, usage, description, mappings=[], options={} )
      Gator::Runner.register self, name, usage,description,options
      Gator::Runner.map mappings => name
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gator-0.0.10.pre lib/gator/commands/command.rb
gator-0.0.9.pre lib/gator/commands/command.rb
gator-0.0.8.pre lib/gator/commands/command.rb