Simple Handlebars CLI
Simple, but already useful CLI for generating text from handlebars templates, by feeding them with data from file (YAML parser used is for it, so JSON is also supported), writen in Rust programming language (with usage serde_yaml and handlebars crates).
The idea is to prepare utility which should be easly used from shell script.
The simplest call:
Or with template registration for using them as partials:
<properties file> can be ether YAML or JSON (as YAML parser is a
JSON parser too) and
<template file> is handlebars template. Template
is generated on standard output.
To see more options call
# to install rust toolchain, skip if already installed
This software is distributed under MIT license. See
LICENSE file in the root of the repository.