Crates.io | lsiotemplate |
lib.rs | lsiotemplate |
version | 0.1.6 |
source | src |
created_at | 2016-11-28 14:38:20.346234 |
updated_at | 2016-11-28 19:55:35.623715 |
description | Handlebars template CLI that allows for passing in values to replace place holders in file. It can also do more complex things like pass in an input json file and output a file or send it to stdout. It also converts yaml to json and ini to json that is then feed into handlebars for normal template features. |
homepage | https://lambdastackio.github.io/lsiotemplate/lsiotemplate |
repository | https://github.com/lambdastackio/lsiotemplate |
max_upload_size | |
id | 7392 |
size | 923,975 |
Install via Cargo:
cargo install lsiotemplate
OR
Clone and build as a normal Rust binary
Homebrew and other packages will come later
Uses handlebars template language to allow you add template variables to files and then dynamically replace them via the command line or via an input JSON or YAML or INI file and then output the results to a file or stdout.
Very useful for build environments that need to change based on data.
Uses handlebars since it's the most widely used for Rust code and works well in a server and client environment (using javascript).