I also wondered this as well. How is something like "cat file.json | jq '.filename' | grep out.txt" implement into Go?
So in theory I could build a feature that allows you to ship a self contained executable like you’ve described.
If this is something you’re genuinely interested in and my shell has the right kind of ergonomics for you, then feel free to leave a feature request: