Justin
58960ed562
Change function call to isJsFile as well
6 лет назад
Justin
d856185ce4
Update bin/mustache
Co-Authored-By: Phillip Johnsen <johphi@gmail.com>
6 лет назад
Justin Staubach
51bd7fd494
Can not use path.parse in version node 0.10
6 лет назад
Justin Staubach
deb13b7fc6
Change let to var for consistency.
6 лет назад
Justin Staubach
625d3cde24
Fixes #429 - support .js views with functions.
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 лет назад