unknown flag: --pbout
relunctance opened this issue · 1 comments
relunctance commented
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
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.