is there an “idiomatic” way to represent targets t...
# general
f
is there an “idiomatic” way to represent targets that are runnable via pants and have stdout / output pipeable to other programs while also having said output on stdout available as an input to another target (via file, or other mechanism) ? that’s a poor explanation, but hopefully you get it 😂
c
I think the
experimental_shell_command
is what you’re looking for: https://www.pantsbuild.org/docs/run-shell-commands
f
so i’d have to register some output — to write my content to — and then have another goal which is basically cat that file? 🤔
b
Sounds about right to me
h
I’m looking into improvements for that target, so any warts you notice - please file an issue!
👌 2