janl / mustache.js

Minimal templating with {{mustaches}} in JavaScript

Home Page:https://mustache.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does the CLI alow for partials?

halloleo opened this issue · comments

Does the library/CLI allow for mustache partials? If so, how? The help gives me:

$ mustache -h
Syntax: mustache <view> <template> [output]

And when I try something like

{{> file.html}} 

hoping file.html gets inlined, nothing is included.

Yepp, the README has an example of CLI & partials usage with the -p argument: https://github.com/janl/mustache.js#command-line-tool