Is there a way to get the path to an installed bin...
# general
b
Is there a way to get the path to an installed binary that Pants manages as a tool? I'm curious if there's a shortcut I could take to getting
buf
to perform a breaking-changes check on our protobufs short of diving into Pants code to implement it, maybe via
experimental_shell_command
?
h
I don't think there's an easy way, because
buf
is only downloaded on demand, so you need to fetch it with something like
Copy code
downloaded_buf = await Get(
        DownloadedExternalTool, ExternalToolRequest, buf.get_request(Platform.current)
    )
b
Ah, yeah, that makes sense.
If I have some time, I may go digging through the code for this.
thanks @happy-kitchen-89482