Top 4.6% dependent packages on proxy.golang.org
proxy.golang.org : github.com/reeflective/flags
Package flags provides a powerful, reflection-based way to generate modern command-line interfaces (CLIs) from Go structs. It uses spf13/cobra for command execution and rsteube/carapace for advanced shell completion. The primary workflow is to define your CLI structure (commands, flags, positional arguments) using Go structs and field tags, and then call flags.ParseCommands() to create a fully configured *cobra.Command tree, complete with shell completions, ready for execution. For useful, pre-built flag types like Counter or HexBytes, see the subpackage at "github.com/reeflective/flags/types".
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/reeflective/flags
Keywords:
carapace
, cli
, cli-apps
, cobra
, command-cobra
, command-line
, commandline
, completions
, go
, golang
, golang-library
, reflection
, struct-tags
License: BSD-3-Clause
Latest release: 6 months ago
First release: almost 4 years ago
Namespace: github.com/reeflective
Dependent packages: 1
Stars: 14 on GitHub
Forks: 2 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 21 days ago