envtpl icon indicating copy to clipboard operation
envtpl copied to clipboard

Render Go templates from Environment Variables

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