Commander for modern Go CLI interactions
Cobra is a library providing a simple interface to create powerful modern CLI interfaces similar to git & go tools. Cobra is also an application that will generate your application scaffolding to rapidly develop a Cobra-based application. Cobra provides: - Easy subcommand-based CLIs: app server, app fetch, etc. - Fully POSIX-compliant flags (including short & long versions) - Nested subcommands - Global, local and cascading flags - Easy generation of applications & commands with cobra init appname & cobra add cmdname - Intelligent suggestions (app srver... did you mean app server?) - Automatic help generation for commands and flags - Automatic help flag recognition of -h, --help, etc. - Automatically generated bash autocomplete for your application - Automatically generated man pages for your application - Command aliases so you can change things without breaking them - The flexibility to define your own help, usage, etc. - Optional tight integration with viper for 12-factor apps
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 1.2.1-1.fc36 | - |
Fedora 35 | 1.1.1-3.fc35 | - |
Fedora 34 | 1.1.1-2.fc34 | - |
You can contact the maintainers of this package via email at
golang-github-spf13-cobra dash maintainers at fedoraproject dot org
.