Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does the CLI alow for partials? #807

Open
halloleo opened this issue Oct 21, 2022 · 1 comment
Open

Does the CLI alow for partials? #807

halloleo opened this issue Oct 21, 2022 · 1 comment

Comments

@halloleo
Copy link

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.

@phillipj
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@phillipj @halloleo and others