Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 587 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 587 Bytes

epp - Easy preprocessor

A small templating engine that allows you to process templated strings or files.

For example:

{{ if (env "HOME") }}
...
{{ end }}

Will check if $HOME is set.

You can use all of the helpers provided by the Sprig library

Installation

$ go get github.com/blendle/epp

Or download one of the stable releases.

Usage

$ epp inputfile -o output
$ epp - < input > output
$ epp inputfile # Write to stdout