A simple utility for rendering Go Templates with the Sprig library and/or the Helm Templating Language.
Go to file
2023-10-13 17:21:08 +02:00
.gitlab-ci.yml Update .gitlab-ci.yml file 2023-10-13 15:01:26 +00:00
go.mod fix value merging & json unmarshalling 2023-10-13 13:07:10 +02:00
go.sum fix value merging & json unmarshalling 2023-10-13 13:07:10 +02:00
LICENSE Add LICENSE 2023-10-12 18:04:03 +00:00
main.go text/template not html/template 2023-10-13 17:21:08 +02:00
README.md clarify templating is sprig only 2023-10-13 16:30:42 +02:00

spry

Basic Sprig Template Rendering.

Usage Examples

$ ./spry
Usage of ./spry [Options] [Template Files]:
  -d string
        Output delimiter between template files rendered (default "---")
  -f value
        Specify a values file (JSON or YAML)
  -helm
        Helm compatibility: provided values will be nested under .Values
  -set value
        Set a specific value (foo.bar=spam)

Template Files can also be directories to recurse for templates.

If no template files are provided it will attempt read from STDIN.
If no input is available from STDIN it will print this usage message instead.
Pass only '-' to Template Files to force waiting for input.