htemplate-render
v0.0.4
Published
Provide an easy, direct and powerful way to renderize an entire directory of templates using handlebars templates (with all the benefits that this implies). All the features of the templetes from handlebars are available to renderize
Downloads
7
Maintainers
Readme
Handlebars template render
Provide an easy, direct and powerful way to renderize an entire directory of templates using handlebars templates (with all the benefits that this implies). All the features of the templetes from handlebars are available to renderize
Usage
$ npm install -g htemplate-render
$ htemplate-render COMMAND
running command...
$ htemplate-render (-v|--version|version)
htemplate-render/0.0.3 linux-x64 node-v10.19.0
$ htemplate-render --help [COMMAND]
USAGE
$ htemplate-render COMMAND
...
Commands
htemplate-render help [COMMAND]
display help for htemplate-render
USAGE
$ htemplate-render help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
htemplate-render render
Render an entire directory
USAGE
$ htemplate-render render
OPTIONS
-d, --dir=dir (Required) directory to render
-e, --envFile=envFile (Required) environment file in JSON format
--dry-run render only and avoid the modification of the templates
DESCRIPTION
...
Provide the relative directory path with -d
Also provide a file with all the environments variables in JSON format with -e
The entire directory will be scanned and all the templates will be renderized if is necessary
By default all the templates will be modified. Use the flag --dry-run to only renderize but not update
the files.
See code: src/commands/render.js