Skip to content

chevdor/tera-cli

Repository files navigation

tera-cli

tera cli logo 256

tera is a template engine written in Rust and inspired by Jinja2. It allows merging some data called context data into a template and produces a new output. This project, tera-cli, is a command line for the tera template engine.

This project is called tera-cli but the command installed on your system is simply tera.

tera-cli offers powerful features related to your environment variables, allowing you to control the output both from the context data you pass but also from the ENV variables set on your system.

Install

cargo install --git https://github.com/chevdor/tera-cli

Documentation

Full docs (a basic example, ENV variables, includes & inheritance, CLI reference): https://chevdor.k8s.chevdor.cc/tera-cli/#/

About

A command line utility on top of the tera templating engine. Takes json|yaml|toml as input and can merge ENV in. You may see it as envsubst on steroid.

Topics

Resources

License

Stars

108 stars

Watchers

2 watching

Forks

Packages

 
 
 

Contributors