This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
kissgen /
| name | age | message | |
|---|---|---|---|
| |
LICENSE | Mon Feb 11 17:31:43 -0800 2008 | [lancecarlson] |
| |
README | Sun Mar 09 21:30:54 -0700 2008 | [wayneeseguin] |
| |
Rakefile | Sun Mar 09 11:13:04 -0700 2008 | [lancecarlson] |
| |
bin/ | Sun Mar 09 21:28:30 -0700 2008 | [wayneeseguin] |
| |
lib/ | Sun Mar 09 23:05:42 -0700 2008 | [lancecarlson] |
| |
spec/ | Sun Mar 09 23:05:42 -0700 2008 | [lancecarlson] |
README
= KISS Generator
Keep it stupid simple (or simple stupid) code generator.
== Installation
gem install kissgen
== API Usage
require "kissgen"
@generator = KISSGen.generator(
:generator => "/path/to/generator",
:directory => "/path/where/files/are/generated",
:pretend => true,
:assignes => {:my_name => "lancelot", ...},
:files => {"app", "models"}
)
Now perform the generation:
@generator.generate!
Note that the last loaded generator is retrievable via:
@generator = KISSGen.generator # => Last loaded generator
Instead of using @g.directory and @g.assign, you can also create a setup.rb file inside of your generator directory
and run the instance methods directly from there. IE:
setup.rb:
directory "/app"
file "README"
== Console Usage
kissgen -s /path/to/generator -t /path/where/files/are/generated
== Repository
visit http://github.com/lancecarlson/kissgen/ or git clone git://github.com/lancecarlson/kissgen.git



