Skip to content

Feature request - Add option to pass data parameter? #18

@davep3rrett

Description

@davep3rrett

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions