Last updated:
0 purchases
grpcgen
Command-line application for code generation for gRPC clients from gRPC Reflection.
Note: Requires Dart 2.17 or above.
Get Started #
Install as a global tool #
To install grpcgen as a global tool, run:
dart pub global activate grpcgen
copied to clipboard
Install as a project dependency #
Add grpcgen package in your dev_dependencies:
dev_dependencies:
grpcgen: any
copied to clipboard
Note: This package should not be added to dependencies.
In order to generate gRPC Client code from server reflection, run:
dart run grpcgen https://example-domain.com
copied to clipboard
Output #
If everything goes well in the previews section, the outputs will be generated.
The generated files can be found in lib/grpc/generated/.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.