Last 12 weeks · 0 commits
4 of 6 standards met
Please please please add support for specifying a source file, a destination file and a flag to discard all the template variables that are not defined (or sent via cli params), also, a JSON object (either as file name or as inline string) with the variables to replace and their values would be awesome. Something like: pupa input-file.html output-file.html --vars='{ "name" : "Hello", "other" : "World!" }' --discard Thanks! Keep up the good work!
Repository: sindresorhus/pupa-cli. Description: Simple micro templating Stars: 78, Forks: 5. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v3.0.0 (11mo ago). Open PRs: 0, open issues: 0. Last activity: 11mo ago. Community health: 71%. Top contributors: sindresorhus, Richienb.