Skip to main content

protoc-gen-go-cli

Recommendation
Updated
Moved
USE
2021-09-08

What is it

protoc-gen-go-cli is a protobuf code generator plugin that generates a command line tool for communicating with your gRPC service.

It has native support for AIP annotations and provides conveniences such as autocompletion of resource names.

When to use it

Use it when developing a gRPC service to obtain a CLI that lets you interact with the gRPC service methods from the command line, for example for debugging or one-off queries.

How to learn it