Documentation
¶
Overview ¶
Package main implements a protoc plugin that takes a CodeGeneratorRequest produced by buf with strategy:all, and splits it into per-directory CodeGeneratorRequests in the manner that buf would do with strategy:directory. This allows remote plugins to invoke plugins in a per-directory fashion, but with one Docker container invocation.
To specify which plugin to use, use the PLUGIN_PATH environment variable key.
PLUGIN_PATH=protoc-gen-grpc-gateway protoc --by-dir_out=. $(find . -name '*.proto')
Click to show internal directories.
Click to hide internal directories.