-
-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to pass rendered template as stdin to post-template command #581
Comments
@ProvoK, ...so, is what you're looking for akin to the following?
|
How about
TBH I think this feature is still useful - there are users who don't run gomplate in an environment where any shells are installed (such as in a |
Seems fine to me :D
Good call 👍 |
@charles-dyfis-net The point is. |
I believe
|
@charles-dyfis-net |
As discussed in #578 with @hairyhenderson , it might be useful a flag to permit passing the rendered template as stdin to the command executed when gomplate finishes succesfully its rendering.
Eg:
Other possible flags names:
This would be a great addition since the post-process command is executed only on gomplate success, and will avoid (sometimes) unnecessary writes to file.
EDIT: changed
stdin
toexec-pipe
The text was updated successfully, but these errors were encountered: