https://pantsbuild.org/ logo
a

ambitious-actor-36781

10/04/2021, 11:37 PM
you can't feed the output of
pants peek
into something like
--spec-files
can you?
e

enough-analyst-54434

10/05/2021, 12:34 AM
Meaning the file descriptors from
<(./pants ...)
can't be fed in to the
--spec-files
file list?
a

ambitious-actor-36781

10/05/2021, 1:27 AM
like, you can't just do
Copy code
pants peek :: | arbitrary_filter_cmd > targets.json
pants --spec-files=targets.json
I'd need to add in
cat deploy.targets| jq -r '.[] | .["address"]' > specs.txt
or something
w

witty-crayon-22786

10/05/2021, 6:00 PM
yea, correct
note that
./pants filter
might be easier than
ppek
+ json filtering in some cases?
3 Views