anyflag
cobra-shell
anyflag | cobra-shell | |
---|---|---|
1 | 3 | |
15 | 40 | |
- | - | |
5.3 | 4.4 | |
4 months ago | 5 months ago | |
Go | Go | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
anyflag
-
Bind any type to spf13/cobra flag, no boilerplate just generics
There is a better way. I want to share with you a library that I wrote that implements pflag.Value and pflag.SliceValue interfaces using Go Generics. With that library you can bind any type by just providing a parser function.
cobra-shell
What are some alternatives?
compver - An little cli tool to compare or get a core block of versions. Based on semantic versioning.
kink - KinK is a helper CLI that facilitates to manage KinD clusters as Kubernetes pods. Designed to ease clusters up for fast testing with batteries included in mind.
console - Closed-loop application library for Cobra commands (powerful, ready-to-run and easy to use)
cidr - CLI to perform various actions on CIDR ranges
dnsee - See DNS configurations quickly
fm - A terminal based file manager
cobra - A Commander for modern Go CLI interactions
flags - Generate cobra command trees from structs. Go-flags compliant tags. Advanced CLI functionality, out-of-the-box.
grofer - A system and resource monitoring tool written in Golang!
exitplan - Golang Exit Callback for SIGINT & SIGTERM
mailtm - CLI client for Mail.tm disposable mail service