summaryrefslogtreecommitdiff
path: root/docs/content/usage.md
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2022-02-21 22:41:32 -0500
committerDave Henderson <dhenderson@gmail.com>2022-02-27 20:16:18 -0500
commit610a8b5a408cb3d08f4e4e2d6cf9cbe7194490d5 (patch)
tree5a79319666ca7d71ee6744fcfd59dec07b0c3347 /docs/content/usage.md
parent2aa13dd3cf08ee24eb174edb78ee4d13415005b5 (diff)
Support piping input to plugin
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'docs/content/usage.md')
-rw-r--r--docs/content/usage.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/content/usage.md b/docs/content/usage.md
index c231955f..b4af259e 100644
--- a/docs/content/usage.md
+++ b/docs/content/usage.md
@@ -236,6 +236,8 @@ A few different forms are valid:
### `--plugin`
+_See the [config file](../config/#plugins) for more plugin configuration options._
+
Some specialized use cases may need functionality that gomplate isn't capable
of on its own. If you have a command or script to perform this functionality,
you can plug in your own custom functions with the `--plugin` flag:
@@ -357,7 +359,7 @@ post-exec command.
## Suppressing empty output
-Sometimes it can be desirable to suppress empty output (i.e. output consisting of only whitespace). To do so, set `suppressEmpty: true` in your [config][] file, or `GOMPLATE_SUPPRESS_EMPTY=true` in your environment:
+Sometimes it can be desirable to suppress empty output (i.e. output consisting of only whitespace). To do so, set `suppressEmpty: true` in your [config](../config/#suppressempty) file, or `GOMPLATE_SUPPRESS_EMPTY=true` in your environment:
```console
$ export GOMPLATE_SUPPRESS_EMPTY=true
@@ -368,6 +370,5 @@ cat: out: No such file or directory
[default context]: ../syntax/#the-context
[context]: ../syntax/#the-context
-[config]: ../config/#suppressempty
[external templates]: ../syntax/#external-templates
[`.gitignore`]: https://git-scm.com/docs/gitignore