discovered 03 Aug 2026
cobra
→ View on GitHubCobra is a robust library for developing modern command-line interface (CLI) applications in Go, designed to facilitate the creation of intuitive, subcommand-based CLI structures. It features POSIX-compliant flags, automatic help generation, intelligent command suggestions, shell autocompletion, and man page generation, making it suitable for a wide range of Go projects including Kubernetes and Hugo. The library's architecture promotes ease of use through its command, arguments, and flags model, enabling developers to craft user-friendly applications that function seamlessly.