anypb
helps you interactively generate Protobuf messages, and output them
either in the serialized Protobuf format, or the canonical JSON encoding.
go install github.com/torkelrogstad/anypb@latest
anypb
assumes you're in a Buf
module or
workspace.
In the future I might add support for working with non-Buf Protobuf sources.
If you're using Fish shell, copy the file anypb.fish
to
$HOME/.config/fish/completions/anypb.fish
.