diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2017-03-06 21:02:42 -0500 |
|---|---|---|
| committer | Dave Henderson <dhenderson@gmail.com> | 2017-03-06 21:06:01 -0500 |
| commit | 181638498d25bbb2dd2bbab40d3142766de7e55a (patch) | |
| tree | d37fe02a918235cc00c375de394c4789514ccc03 /README.md | |
| parent | 2adb96bdc7261389ddde0408fd9e6b689c73adc0 (diff) | |
Allow overriding the template delimiters
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -34,6 +34,7 @@ Gomplate is an alternative that will let you process templates which also includ - [Usage](#usage) - [Commandline Arguments](#commandline-arguments) - [`--datasource`/`-d`](#-datasource-d) + - [Overriding the template delimiters](#overriding-the-template-delimiters) - [Syntax](#syntax) - [About `.Env`](#about-env) - [Built-in functions](#built-in-functions) @@ -191,6 +192,11 @@ A few different forms are valid: - `mydata.json` - This form infers the name from the file name (without extension). Only valid for files in the current directory. +#### Overriding the template delimiters + +Sometimes it's necessary to override the default template delimiters (`{{`/`}}`). +Use `--left-delim`/`--right-delim` or set `$GOMPLATE_LEFT_DELIM`/`$GOMPLATE_RIGHT_DELIM`. + ## Syntax ### About `.Env` |
