Read the docs at gomplate.hairyhenderson.ca.
gomplate
A Go template-based CLI tool. gomplate
can be used as an alternative to
envsubst
but also supports
additional template datasources such as: JSON, YAML, AWS EC2 metadata, and
Hashicorp Vault secrets.
I really like envsubst
for use as a super-minimalist template processor. But its simplicity is also its biggest flaw: it's all-or-nothing with shell-like variables.
Gomplate is an alternative that will let you process templates which also include shell-like variables. Also there are some useful built-in functions that can be used to make templates even more expressive.
Read more documentation at gomplate.hairyhenderson.ca!
Please report any bugs found in the issue tracker.
Releasing
Right now the release process is semi-automatic.
- Create a release tag:
git tag -a v0.0.9 -m "Releasing v0.9.9" && git push --tags
- Build binaries & compress most of them:
make build-release
- Create a release in github!
License
The MIT License
Copyright (c) 2016-2017 Dave Henderson