ambitious-toddler-65779
07/16/2025, 8:54 AMwire
CLI during a build?
My goal is to have wire
generate a file that is then used as a source in my go_package
. I have the tool managed via go.mod
.
I've been struggling to get run_shell_command
to work correctly. Is there a common alternative pattern, or pointers on what I might be doing wrong?fast-nail-55400
07/17/2025, 2:30 AMrun_shell_command
is designed to be invoked with the `run`goal. You want shell_command
or adhoc_tool
if you want to generate code. That said, I don't know if go_package
understands how to consume outputs from shell_command
/ adhoc_tool
(given the Go backend was written before the shell / adhoc backends).