I've been wondering if we need the raw output mode...
# development
h
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
it might be an artifact of how that goal was originally conceived/described
h
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
OK, so I think retconning
peek
as the place to for all your JSON needs is the way to go 🙂
🙌 1