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 a3f5f21 commit 58556e0Copy full SHA for 58556e0
README.md
@@ -70,13 +70,20 @@ message Greeting {
70
}
71
```
72
73
-You can run the following:
+You can run the following to invoke protoc directly:
74
75
```sh
76
mkdir lib
77
protoc -I . --python_betterproto_out=lib example.proto
78
79
80
+or run the following to invoke protoc via grpcio-tools:
81
+
82
+```sh
83
+pip install grpcio-tools
84
+python -m grpc_tools.protoc -I . --python_betterproto_out=lib example.proto
85
+```
86
87
This will generate `lib/hello/__init__.py` which looks like:
88
89
```python
0 commit comments