Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 4dd3e6a809
Fetching contributors…

Cannot retrieve contributors at this time

file 15 lines (13 sloc) 0.299 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
require "garlic/session"
require "garlic/generator"

TabTab::Definition.register('garlic', :import => '--help') do |g|
  Garlic::Session.commands.each do |c|
    g.command c
  end
  
  g.command :generate do
    class << self
      include Garlic::Generator
    end
    available_templates
  end
end
Something went wrong with that request. Please try again.