-
Notifications
You must be signed in to change notification settings - Fork 852
Open
Description
I'm expecting to run the ejs CLI repeatedly with the same settings (rendering a static Web site).
Rather than this:
ejs src/index.ejs --data-file data.json --strict --output-file dist/index.html
I'd rather type this:
ejs
With the options coming from a file ejsconfig.json:
{
"templateFile": "src/index.ejs",
"dataFile": "data.json",
"outputFile": "dist/index.html",
"strict": true
}This will make my build script in package.json much easier to read.
Any interest in this feature?
Metadata
Metadata
Assignees
Labels
No labels