https://pantsbuild.org/ logo
h

happy-kitchen-89482

09/28/2021, 4:54 AM
I've been wondering if we need the raw output mode in the
peek
goal, or if it can always emit JSON? cc @flat-zoo-31952 @witty-crayon-22786 @hundreds-father-404
What is the use-case for the raw output? It's confusing because it always shows the entire BUILD file containing the target spec, so you get a bunch of other targets than the one you asked about
And it seems really easy for the user to just cat the relevant BUILD file?
f

flat-zoo-31952

09/28/2021, 12:00 PM
it might be an artifact of how that goal was originally conceived/described
h

hundreds-father-404

09/28/2021, 1:18 PM
Yeah I think we should drop it. Generated targets also make things weird, that we show the target generator rather that the generated target
h

happy-kitchen-89482

09/28/2021, 2:32 PM
OK, so I think retconning
peek
as the place to for all your JSON needs is the way to go 🙂
🙌 1