metaverse / truss

Truss helps you build go-kit microservices without having to worry about writing or maintaining boilerplate code.
Other
737 stars 144 forks source link

unknown flag: --pbout #313

Closed relunctance closed 4 years ago

relunctance commented 4 years ago
truss --pbout truss-demo/interface-defs --svcout truss-demo/service echo.proto
unknown flag: --pbout

Usage: truss [options] <protofile>...

Generates go-kit services using proto3 and gRPC definitions.

Options:
      --getstarted      Output a 'getstarted.proto' protobuf file in ./
  -h, --help            Print usage
      --svcout string   Go package path where the generated Go service will be written. Trailing slash will create a NAME-service directory
  -v, --verbose         Verbose output
unknown flag: --pbout
truss -v
truss: missing .proto file(s)
truss (version: ef2331b7e2 version date: 2020-10-07T23:22:38Z)
zaquestion commented 4 years ago

Hi @relunctance --pbout did use to be a flag, but it was dropped a while ago. Today truss only generates the pb.go files next to the .proto files themselves.