We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2969e0 commit ec499c0Copy full SHA for ec499c0
README.md
@@ -538,13 +538,13 @@ protoc \
538
539
### Using grpcio library instead of grpclib
540
541
-In order to use the `grpcio` library instead of `grpclib`, you can use the `--custom_opt=USE_GRPCIO`
+In order to use the `grpcio` library instead of `grpclib`, you can use the `--python_betterproto_opt=USE_GRPCIO`
542
option when running the `protoc` command.
543
This will generate stubs compatible with the `grpcio` library.
544
545
Example:
546
```sh
547
-protoc --custom_opt=USE_GRPCIO -I . --custom_out=generated --plugin=protoc-gen-custom=src/betterproto/plugin/main.py demo.proto
+protoc -I . --python_betterproto_out=. --python_betterproto_opt=USE_GRPCIO demo.proto
548
```
549
### TODO
550
0 commit comments