Skip to content

Commit

Permalink
Merge pull request #333 from hairyhenderson/overhaul-datasource-docs
Browse files Browse the repository at this point in the history
Overhauling datasource documentation
  • Loading branch information
hairyhenderson authored May 21, 2018
2 parents e34b660 + 67f5d10 commit 52a382c
Show file tree
Hide file tree
Showing 4 changed files with 442 additions and 294 deletions.
5 changes: 3 additions & 2 deletions docs/content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,18 @@ menu:

A [Go template](https://golang.org/pkg/text/template/)-based CLI tool. `gomplate` can be used as an alternative to
[`envsubst`](https://www.gnu.org/software/gettext/manual/html_node/envsubst-Invocation.html) but also supports
additional template datasources such as: JSON, YAML, AWS EC2 metadata, [BoltDB](https://github.com/boltdb/bolt),
additional template [datasources][] such as: JSON, YAML, AWS EC2 metadata, [BoltDB](https://github.com/boltdb/bolt),
[Hashicorp Consul](https://www.consul.io/) and [Hashicorp Vault](https://www.vaultproject.io/) 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.


_Please report any bugs found in the [issue tracker](https://github.com/hairyhenderson/gomplate/issues/)._
## License

[The MIT License](http://opensource.org/licenses/MIT)

Copyright (c) 2016-{{< year >}} Dave Henderson

[datasources]: ../datasources
Loading

0 comments on commit 52a382c

Please sign in to comment.