Utility to generate "anything" from templates(https://github.com/DmitryBochkarev/.templates)
CoffeeScript JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
.gitignore
README.markdown
index.js
package.json
template.coffee

README.markdown

generate

This tool provide way for generate "anything" from templates.

Templates repository: https://github.com/DmitryBochkarev/.templates

By default templates looking in ~/.templates but you can define TEMPLATE_DIR enviropment variable.

usage

$ generate generator output_dir template_name [template_options]

examples

$ mkdir /tmp/controllers

$ generate batmanjs /tmp/controllers controller --app=Hello --controller=World

Create file:
/tmp/controllers/world_controller.coffee

$ cat /tmp/controllers/world_controller.coffee

class Hello.WorldController extends Batman.Controller

license

MIT/X11