grpcget is a command-line client for gRPC servers with reflection enabled. https://github.com/RangelReale/grpcget
With this tool you can query the server for services and symbols, and invoke methods with parameters. The parameters for a method invocation are simple name=value parameters, and the name can have "." to set values in inner messages. The default implementation output is aimed to be user-friendly, not JSON or marchine parseable. But using output customizers it is easy to create a version that does output other formats. grpcget is also a customizable library that you can use in your projects. It supports customizing setters and getters so you can define special handling for types that your application supports. Example: # grpcget -plaintext invoke localhost:50051 helloworld.Greeter.SayHello name="Han Solo" message: Hello Han Solo This library is heavily based on grpccurl, and the packages it uses. Thanks, Rangel Reale -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/ea4af446-5efe-409c-a4d6-8cb93098dee9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
