Justin
58960ed562
Change function call to isJsFile as well
pirms 6 gadiem
Justin
d856185ce4
Update bin/mustache
Co-Authored-By: Phillip Johnsen <johphi@gmail.com>
pirms 6 gadiem
Justin Staubach
51bd7fd494
Can not use path.parse in version node 0.10
pirms 6 gadiem
Justin Staubach
deb13b7fc6
Change let to var for consistency.
pirms 6 gadiem
Justin Staubach
625d3cde24
Fixes #429 - support .js views with functions.
pirms 6 gadiem
wizawu
8bfd6e4c60
Add `output` argument to mustache bin
pirms 10 gadiem
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.
pirms 10 gadiem
palkan
d0cf9c65ee
[ Fix #483 ] Add partials support to cli
pirms 10 gadiem
Phillip Johnsen
b2fb42e572
Improve CLI parsing error
pirms 11 gadiem
Phillip Johnsen
26a4e95e3b
CLI: -v option for displaying current version
Fixes #431
pirms 11 gadiem
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
pirms 11 gadiem