summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2019-10-23 23:06:56 -0400
committerDave Henderson <dhenderson@gmail.com>2019-10-23 23:09:48 -0400
commite0840639ea94698921025301ef6c5ff0c6961feb (patch)
treeb349bef18afad24923eb686115fdf9c245de4c0b /config.go
parentcb03ef3ca03fdbdf6d7e99866c08db4250daef3e (diff)
New --exec-pipe output option
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'config.go')
-rw-r--r--config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.go b/config.go
index b1f3c453..18bd5546 100644
--- a/config.go
+++ b/config.go
@@ -1,6 +1,7 @@
package gomplate
import (
+ "io"
"os"
"strconv"
"strings"
@@ -17,6 +18,7 @@ type Config struct {
OutputDir string
OutputMap string
OutMode string
+ Out io.Writer
DataSources []string
DataSourceHeaders []string