mauricemach/coffeekup — pull request #90 by nybras (2011-10-26 01:50:57+00:00)
Title: Adding more output options

When you need to export more than one tempalte to js, you probably want to separate the renderer logic from the template itself instead of embedding it in every template, making your output file bigger.

This patch adds two news options to the cli:

- ['--js', 'compile template to js function']
+ ['-j', '--js', 'compile template to js function (template + embedded renderer)']
+ ['-b', '--bare', 'use with -j to compile template to js (template only)' ]
+ ['-c', '--core', 'use with -j to compile renderer to js (renderer only)' ]