njk-cli

1.0.3 • Public • Published

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]

Readme

Keywords

Package Sidebar

Install

npm i njk-cli

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

5.22 kB

Total Files

9

Last publish

Collaborators

  • tarapon