#template #configuration #config-file #environment #jinja2 #rendered #exec-ing

bin+lib barnacle

A small tool to template a configuration file with environment variables before exec'ing into another binary

4 releases (2 breaking)

0.3.0 Oct 2, 2022
0.2.0 Oct 2, 2022
0.1.1 Feb 3, 2022
0.1.0 Dec 25, 2021

#512 in Template engine

ISC license

7KB
69 lines

barnacle

A small tool that will use Jinja2 to take a template file and write its rendered version to disk, before exec'ing the user specified application.

Usage

barnacle ./template.j2 ./configuration -- cat ./configuration

License

It is using a ISC license, for full license text read LICENSE.

Dependencies

~2.5–3.5MB
~67K SLoC