You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently it looks like ejs-cli only wraps the call to ejs.renderFile() with the signature renderFile(filename, options, callback) - and there is no way to pass in a data parameter when rendering a template with ejs-cli.
It would be great to see this feature added. Currently I need to write a helper script that wraps ejs just so I can render a template from the shell with the data parameter.
The text was updated successfully, but these errors were encountered:
Currently it looks like
ejs-cli
only wraps the call toejs.renderFile()
with the signaturerenderFile(filename, options, callback)
- and there is no way to pass in adata
parameter when rendering a template withejs-cli
.It would be great to see this feature added. Currently I need to write a helper script that wraps
ejs
just so I can render a template from the shell with thedata
parameter.The text was updated successfully, but these errors were encountered: