Eamonn O'Brien-Strain
aaaa94f4f3
Allow JavaScript views to have the .cjs suffix.
hace 6 años
Justin
13cde0442e
Support .js views with functions in CLI ( #717 )
Fixes https://github.com/janl/mustache.js/issues/429
hace 6 años
wizawu
8bfd6e4c60
Add `output` argument to mustache bin
hace 10 años
Phillip Johnsen
cbcd788b0c
Linting CLI tool.
Also minor .eslintrc change to be able to use `process.exit()`,
instead of having to `throw new Error()` to exit the process.
hace 10 años
palkan
d0cf9c65ee
[ Fix #483 ] Add partials support to cli
hace 10 años
Phillip Johnsen
b2fb42e572
Improve CLI parsing error
hace 11 años
Phillip Johnsen
26a4e95e3b
CLI: -v option for displaying current version
Fixes #431
hace 11 años
Phillip Johnsen
65387a5468
Created command line tool.
CLI used to render a mustache template with a data view, writes the template into stdout when successfull. Otherwise meaningfull errors into stderr.
Fixes #424
hace 11 años