GopherCon 2021: grpctl: Automatically Generate a CLI for your APIs - Joshua Carpeggiani @GopherAcademy
GopherCon 2021: grpctl: Automatically Generate a CLI for your APIs - Joshua Carpeggiani  @GopherAcademy
Uploaded December 2021 | Updated December 2026, 3 days ago
Usually creating a single CLI tool for a whole suite of APIs is cumbersome; each team has a different way of specifying flags, arguments, etc. This leads to the cli tool having a fragmented and bug-filled experience for any consumer.

grpctl helps solve this by automatically generating cobra commands from the proto file descriptors, meaning that you can create a CLI tool for your team in just a few lines of code.

grpctl also comes with a reflection mode which allows for a more dynamic interaction with gRPC APIs that is more intuitive than something like grpcurl.

Link to repo: github.com/joshcarp/grpctl

Link to demo CLI: github.com/joshcarp/grpctl/blob/main/cmd/billingctl/main.go
GopherCon 2021: grpctl: Automatically Generate a CLI for your APIs - Joshua CarpeggianiGopherCon 2021: Debugging Treasure Hunt - Suzy MuellerGopherCon 2024: A Decade of Debugging - Derek ParkerGopherCon 2025: Analysis and Transformation Tools for Go Codebase Modernization - Alan DonovanGopherCon 2021: How Go Makes Chezmoi Possible - Tom PayneGopherCon 2021: HTML Components in Go (or, Why I Sometimes Miss React) - Markus WüstenbergGopherCon 2022: Aerospace Go - Patricio WhittingslowGopherCon 2023: Go Microservices for ML at the Edge - Samantha CoyleGopherCon 2022: Go: Our Journey from Early Adopter to Mainstream and Beyond - Steve FranciaGopherCon 2024: Who Tests the Tests? - Daniela PetruzalekGopherCon 2023: The Future of JSON in Go - Joe TsaiGopherCon 2022: A Holistic Go Experience - Cameron Balahan
Gopher Academy |

GopherCon 2021: grpctl: Automatically Generate a CLI for your APIs - Joshua Carpeggiani

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER