An alternative to grpc_cli
.
giro can be used for gRPC servers without Server Reflection
brew install rerost/tools/giro
$ protoc --go_out=. --go-grpc_out=. --go_opt=paths=source_relative --go-grpc_opt=paths=source_relative --reflection-server_out=. $(shell find . -name '*.proto')
$ go run main.go
cd example/multiple_package/server
docker build -t test .
docker run -it -p 5001:5001 test
cd ../../../
$ giro ls
example.multiple_package.protos.one.GiroService
example.multiple_package.protos.twofile.BqvService
grpc.health.v1.Health
grpc.reflection.v1alpha.ServerReflection
rerost.giro.v1.HostService
$ giro call --rpc-server=localhost:5001 example.multiple_package.protos.one.GiroService/GiroTest1 '{"message": "test"}'
{"message":"test"}