pfcarrier / envtpl-1

Render Go templates from Environment Variables

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

env-tpl

Build Status Docker Repository on Quay

Render Go templates from Environment Variables. Let's say you have the following template file called pwd.tpl:

The current working directory is {{.PWD}}

Run envtpl -in pwd.tpl, and you'll see the following printed to STDOUT:

The current working directory is /path/you/executed/from

About

Render Go templates from Environment Variables

License:Apache License 2.0


Languages

Language:Go 69.3%Language:Makefile 27.6%Language:Dockerfile 1.8%Language:Shell 1.3%