@rajivsah/handlebars-hot-reload
v1.0.12
Published
![Version](https://img.shields.io/badge/version-1.0.0-blue.svg?cacheSeconds=2592000) [![Documentation](https://img.shields.io/badge/documentation-yes-brightgreen.svg)](https://github.com/tolgaerdonmez/handlebars-hot-reload#readme) [![Maintenance](https://
Downloads
2
Maintainers
Readme
Welcome to handlebars-hot-reload 👋
Description
This CLI aims to render handlebar templates with hot reload functionality for ease of development of handlebar templates.
Installation
npm install --global handlebars-hot-reload
or
yarn global add handlebars-hot-reload
Usage
Usage: handlebars-hot-reload -t <template path> -j <json data path> -o <output path> -s <save output>
Options:
--help Show help [boolean]
--version Show version number [boolean]
-t, --templatePath Template path you want to render [string] [required]
-j, --dataPath JSON data to be injected into handlebar template, if this
is not given it will search for e.g example.hbs ->
example.json [string]
-p, --port HTTP Port you want to serve the file [number]
-o, --outputPath Save the created html output to given path [string]
-s, --saveOutput Whether to save the created html output to the same
directory as the template, this will override the -o /
--outputPath option [boolean] [default: false]
-m, --strictMode Whether to compile handlebar template in strict mode or not
[boolean] [default: true]
Author
👤 Tolga Erdönmez
- My Startup: tidible.app
- Twitter: @tolgaerdonmez
- Github: @tolgaerdonmez
- LinkedIn: @tolgaerdonmez
Show your support
Give a ⭐️ if this project helped you!
📝 License
Copyright © 2020 Tolga Erdönmez.
This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator