Eamonn O'Brien-Strain
aaaa94f4f3
Allow JavaScript views to have the .cjs suffix.
6 роки тому
Justin
13cde0442e
Support .js views with functions in CLI ( #717 )
Fixes https://github.com/janl/mustache.js/issues/429
6 роки тому
wizawu
8bfd6e4c60
Add `output` argument to mustache bin
10 роки тому
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.
10 роки тому
palkan
d0cf9c65ee
[ Fix #483 ] Add partials support to cli
10 роки тому
Phillip Johnsen
b2fb42e572
Improve CLI parsing error
11 роки тому
Phillip Johnsen
26a4e95e3b
CLI: -v option for displaying current version
Fixes #431
11 роки тому
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
11 роки тому