coral
kongplete
coral | kongplete | |
---|---|---|
5 | 1 | |
425 | 25 | |
- | - | |
0.0 | 5.7 | |
about 1 year ago | 6 months ago | |
Go | Go | |
Apache License 2.0 | MIT License |
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.
coral
-
Goke - Task runner tool
I just curious, why not to use "flag" in that place? It easy and has "self-help/doc" ability. But if you might still prefer Cobra, take a look at Coral which is lightweight Cobra, but still, me too preferring as less as possible dependencies
-
Coral, a Cobra fork with nearly all its features, but only 4 dependencies
Right but that last one is the problem...
https://github.com/muesli/coral/blob/master/go.sum
https://github.com/spf13/cobra/blob/master/go.sum
- Coral, a friendly Cobra fork with nearly all its features, but only 4 dependencies
kongplete
-
Coral, a friendly Cobra fork with nearly all its features, but only 4 dependencies
AFAIK there is currently no support for this out of the box. However, you could try out kongplete. I didn't have time to try it for one of my projects but it looks promising.
What are some alternatives?
viper - Go configuration with fangs
koanf - Simple, extremely lightweight, extensible, configuration management library for Go. Support for JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.
cobra - A Commander for modern Go CLI interactions
kong - Kong is a command-line parser for Go
goke - Go + Make = Goke
kubernetes - Production-Grade Container Scheduling and Management
cli - GitHub’s official command line tool
pflag - Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
taskctl - Concurrent task runner, developer's routine tasks automation toolkit. Simple modern alternative to GNU Make 🧰