spf13/cobra ? reverse-engineered prompt

Reverse engineered prompt

Build me a Go library for making command line apps that feel polished and easy to use, like git or go. I want to be able to define a main command, add nested subcommands, and attach flags that work the usual way with short and long forms. Please make it generate helpful usage text automatically, support command aliases, give smart suggestions when someone types the wrong command, and include shell autocomplete for bash, zsh, fish, and powershell. It should also handle help flags cleanly and let me customize help and usage if needed. If it makes sense, include a simple example app and a small generator so I can bootstrap new CLI projects quickly. Use current Go best practices, add tests for the main behaviors, and look up any current docs online if you need to.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab