hashicorp / hashicorp/consul-template
using stdin/stdout for templates?
Open
enhancement
- Dominant language
- Go
- Stars
- 4.8k
- Forks
- 801
- Avg merge
- 4h 5m
- Merged PRs (30d)
- 6
Description
Is it possible to read the template from stdin and/or write the output to stdout rather than from a file? It would be nice to avoid managing extraneous temporary files.
Using stdin/stdout without the -once flag would be nonsensical.
the -dry flag almost works for standard output, but it adds an extra leading line.
P.S. Do you have another mechanism for these sorts of questions, such as a mailing list? This is the third time I've (ab)used the issue tracker for usage questions like this.
Contributor guide
Assessment
This issue has not been assessed yet.