Path: | README |
Last Update: | Wed Aug 13 17:57:18 -0600 2008 |
merb-gen is a part of the Merb More package. It provides application, plugin, and component generators for Merb.
To generate directory structure for a new merb app, run merb-gen app <app-name>. For instance, merb-gen app foo would create a new foo merb app inside of the foo directory.
Use —flat to generate a flattened application (very simple directory structure) and —very-flat to generate a single file application.
To generate a new merb plugin, run merb-gen plugin <plugin_name>.
To see what generators are available, run merb-gen generators.
If you want to create your custom generators to use with Merb, and don‘t want to create a gem, you should put them in ~/.rubigen/merb_generators/.