Codgen
Codgen is a cross language, template based, code generator, capable of generating multiple applications from a common model.
It uses JSON for it's model and config and you can use mustache or handlebars templates or just verbatim copy.
If you find bugs or bad error messages be sure to log an issue. If it's not to big I'll probably get to pretty quickly. Pull requests are also most welcome!
Installation
$ gem install codgen
Usage
$ codgen.rb [input_directory_path|config_path.json] [output_directory_path]
Examples
$ codgen.rb codgen_config.json
$ codgen.rb input_dir output_dir
For more info see the wiki page
Contributing
- Fork it ( https://github.com/[my-github-username]/codgen/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request