1.0.3 • Published 3 years ago

njk-cli v1.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
3 years ago

njk-cli

Usage:

njk -s template/tmpl.njk -d template/data.json -p v1=1 -p v2=2

Options:
  --help        Show help                                              [boolean]
  --version     Show version number                                    [boolean]
  --source, -s  Source njk template                                   [required]
  --data, -d    Json file with variables
  --params, -p  Key-value pairs of variables, ex: name=hello             [array]