Skip to content

arschles/envtpl

Repository files navigation

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