Cobrax - Helpers for spf13/cobra
This project provides helpers for the commonly used spf13/cobra library. It specifically aims to make commands composable and reusable, as well as to make testing easier.
go get github.com/zepatrik/cobrax
Extensive documentation is available on https://pkg.go.dev/github.com/zepatrik/cobrax.
This project is based on all the small tweaks and helpers I have accumulated over the years of using cobra while working on Ory projects. This library might be transferred to the Ory organization in the future.