Sha256: 9a345f094107378931b84ff112b65b614e03fa30ddde57502366c5a78030a20d

Contents?: true

Size: 288 Bytes

Versions: 1

Compression:

Stored size: 288 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

1 entries across 1 versions & 1 rubygems

Version Path
gator-0.0.7.pre lib/gator/command.rb