A Commander for modern Go CLI interactions
92.84 KB
built 2026-12-06 15:51:46 GMT
Description
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
This package contains the source code needed for building packages that
reference the following Go import paths:
– github.com/spf13/cobra
Dependencies
12 totalRequires8
- go-filesystem
- golang(github.com/cpuguy83/go-md2man/v2/md2man)
- golang(github.com/spf13/pflag)
- golang(gopkg.in/yaml.v3)
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(PayloadFilesHavePrefix) <= 4.0-1
- rpmlib(PayloadIsZstd) <= 5.4.18-1
Provides4
- golang(github.com/spf13/cobra) = 1.8.1-2.rvmock0_nc.fc45
- golang(github.com/spf13/cobra/doc) = 1.8.1-2.rvmock0_nc.fc45
- golang-github-spf13-cobra-devel = 1.8.1-2.rvmock0_nc.fc45
- golang-ipath(github.com/spf13/cobra) = 1.8.1-2.rvmock0_nc.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
60
Files 1–50 of 60
Next →
Component of
buildroots that installed this RPMNo Buildroots
