Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 598 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 598 Bytes

protoc-gen-rbs

Protobuf compiler plugin that generates .rbs "Ruby Type Specification" files.

Installation

go get github.com/fundthmcalculus/protoc-gen-rbs

Usage

protoc --rbs_out=. example.proto

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

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

Example

For the input example.proto: