@agrzes/ydt-cli
v1.0.0
Published
Two phase templating using handlebars to configure generation of files also using handlebars. CLI module.
Readme
CLI Package for @agrze/ydt templating package.
Usage
The ydt command accepts data form stdin and config file as an argument.
ydt [config-file]It generates files defined by the config file using data from stdin. The data are parsed as YAML but JSON as subset of YAML is also supported.
See tutorial for more information.
Flags
-H, --helpers <helpers...>- file or directory with custom handlebars helpers. All exports from the file will be registered as helpers. If directory is provided all.jsfiles in the directory will be loaded. This option can be used multiple times.-h, --help- display help for command
