Skip to content

Protobuf compiler plugin that generates Sorbet .rbi "Ruby Interface" files.

License

Notifications You must be signed in to change notification settings

ains-stripe/protoc-gen-rbi

 
 

Repository files navigation

protoc-gen-rbi

Protobuf compiler plugin that generates Sorbet .rbi "Ruby Interface" files.

Installation

go get github.com/coinbase/protoc-gen-rbi

Usage

protoc --rbi_out=. example.proto

To disable generation of gRPC .rbi files, use the grpc=false option:

protoc --rbi_out=grpc=false:. example.proto

Example

For the input example.proto:

About

Protobuf compiler plugin that generates Sorbet .rbi "Ruby Interface" files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 94.1%
  • Makefile 5.5%
  • Ruby 0.4%