grpcgen 0.1.0+1 copy "grpcgen: ^0.1.0+1" to clipboard
grpcgen: ^0.1.0+1 copied to clipboard

Command-line application for code generation for gRPC clients from gRPC Reflection.

pub package likes points popularity license stars forks sdk version

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

Install as a project dependency #

Add grpcgen package in your dev_dependencies:

dev_dependencies:
  grpcgen: any

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

Output #

If everything goes well in the previews section, the outputs will be generated. The generated files can be found in lib/grpc/generated/.

1
likes
120
pub points
7%
popularity

Publisher

unverified uploader

Command-line application for code generation for gRPC clients from gRPC Reflection.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

dart_style, fixnum, grpc, protobuf, recase

More

Packages that depend on grpcgen