You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Go Template CLI (tpl)
2
2
3
-
Render json, yaml, toml & xml with go templates from the command line.
3
+
Render json, yaml, & toml with go templates from the command line.
4
4
5
5
The templates are executed with the [text/template](https://pkg.go.dev/text/template) package. This means they come with the additional risks and benefits the text templates provide.
6
6
@@ -12,7 +12,7 @@ Options:
12
12
-f, --file stringArray template file path. Can be specified multiple times
13
13
-g, --glob stringArray template file glob. Can be specified multiple times
14
14
-n, --name string if specified, execute the template with the given name
15
-
-d, --decoder string decoder to use for input data. Supported values: json, yaml, toml, xml (default "json")
15
+
-d, --decoder string decoder to use for input data. Supported values: json, yaml, toml (default "json")
16
16
--options stringArray options to pass to the template engine
17
17
--no-newline do not print newline at the end of the output
0 commit comments