summaryrefslogtreecommitdiff
path: root/docs/content/en/reference
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/reference')
-rw-r--r--docs/content/en/reference/guides/templating.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/content/en/reference/guides/templating.md b/docs/content/en/reference/guides/templating.md
index f4069b1b7..52efd5452 100644
--- a/docs/content/en/reference/guides/templating.md
+++ b/docs/content/en/reference/guides/templating.md
@@ -99,6 +99,10 @@ The following is a list of special functions and their syntax.
This template function takes a single input and is a positive integer. Returns a slice of uints from 0 to the provided
input.
+#### mustEnv
+
+Same as [env](#env) except if the environment variable is not set it returns an error.
+
#### fileContent
This template function takes a single input and is a string which should be a path. Returns the content of a file.