This project provides a basic cli for doT.js
$ npm install -g https://github.com/EmbeddedEnterprises/dot-cli.git
For reference on the template syntax please visit this page.
$ dotjs template.def '{"name":"Jake","age":31}' > result.txt
This project provides a basic cli for doT.js
$ npm install -g https://github.com/EmbeddedEnterprises/dot-cli.git
For reference on the template syntax please visit this page.
$ dotjs template.def '{"name":"Jake","age":31}' > result.txt