-
Install protobuf;
-
Configure the
grpc.generate.config.json
in your project;- Example:
{ "github": { "repo": "repository with yours .proto files to clone", "token": "Personal Token <only if repository is private>", "isPrivate": false } }
-
Use
npm install -g grpc-generate
ornpx grpc-generate
to run CLI;
jeconias / grpc-generate Goto Github PK
View Code? Open in Web Editor NEWgrpc-generate is a package for synchronizing .proto files between client and server gRPC project.