-
Notifications
You must be signed in to change notification settings - Fork 24
does fmpp command line support stdout mode insteadof create file? #13
Comments
Yes, that's on the FMPP TODO actually. (It's not entirely trivial, because FMPP can output to multiple files and such, which doesn't make sense with stdout.) |
I use fmpp for rendering a 【freemarker template】 in nodejs application. The idealy way to use fmpp is shell.run("fmpp some/path/to/index.ftl -D xxx", function(err, compileContent){ // data is the stdout's data stream
response.send(compileContent)
}) but I found that, before I got the So, I think , It is not necessary to force people to pass |
How it probably will be, if I ever had time for it, is that you can pass |
|
👍 When will this be released? :) |
It wasn't even implemented, so I really don't know. |
Trivial kludge in bash. Maybe someone would be interested
|
I tried fmpp like
fmpp test/template/index.ftl > index.html
but got following result
I think , the
outputRoot
must be a Optional arguments to help developer use stdout in other way . like text processing.Just a suggestion.
The text was updated successfully, but these errors were encountered: