View Source Protobuf.Protoc.CLI (protobuf v0.12.0)

protoc plugin for generating Elixir code.

protoc-gen-elixir (this name is important) must be in $PATH. You are not supposed to call it directly, but only through protoc.

examples

Examples

$ protoc --elixir_out=./lib your.proto
$ protoc --elixir_out=plugins=grpc:./lib/ *.proto
$ protoc -I protos --elixir_out=./lib protos/namespace/*.proto

Options:

  • --version Print version of protobuf-elixir
  • --help (-h) Print this help

Link to this section Summary

Link to this section Functions