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
Describe the enhancement
Support pipes | to redirect stdout of first toolrunner to the next one.
Code Snippet
An idea could be to have a method that connects a list of ToolRunners and start executing them ToolRunner.execWithPiping(trs: ToolRunner[])
Additional information
If i have a sequence of commands like tr1 | tr2 | tr3 i would like to redirect stdout through all tollrunners. (e.g. kubectl create deployment my-dep -o yaml --dry-run | kubectl label --local -f - environment=qa -o yaml | kubectl create -f - )
I am also available to contribute on this if there is no workaround to achieve this and you want to add this feature.
Reacted by Webber Takken, Mingwei, David Gang, Rick Staa, Athanasia Monika Mowinckel and Dan Syrstad
Activity
sittie82 commentedon Feb 28, 2020
An idea could be to have a method that connects a list and start executing them ToolRunner.execWithPiping(trs: ToolRunne)
🐛 Fixes flake8 command piping problem
rickstaa commentedon Dec 12, 2020
Related to #461, #359. This would be a very nice feature to have! 🚀 I currently use the following workaround that was given in #359 by @hrueger.
LINUX/MAC:
WINDOWS: