1.2.11 • Published 6 years ago
merlin-engine v1.2.11
/\_ MERLIN-ENGINE /\_
Installation
npm install -g merlin-engine
Usage
A full command example:
merlin create --values '{ "name": "Header" }' --template ./example/classComponentTemplate.js --output './example/Header.js
values
: a JSON like string with values to fill the templatetemplate
: a template file thatmerlin
uses to generate the final file. The template file must be written using the JavaScript Template String specs. Butmerlin
doesn't care about the extension files that you will generate. Just write the templates and use the right extensions and you will be able to generate python, ruby or whatever you want to.output
: the relative path thatmerlin
will write the output file.
License
merlin-engine is released under the MIT License