exitplan
anyflag
exitplan | anyflag | |
---|---|---|
1 | 1 | |
1 | 15 | |
- | - | |
0.0 | 5.3 | |
over 2 years ago | 4 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.
exitplan
-
Looking for some feedback on my first two packages
- exitplan: Watches for SIGINT/SIGTERM/SIGHUP to call for shutdowns with exit callback with a final callback with options of a grace period and HTTP Handler for HTTP based health checks (IE: containers in K8S).
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.
What are some alternatives?
flags - Generate cobra command trees from structs. Go-flags compliant tags. Advanced CLI functionality, out-of-the-box.
compver - An little cli tool to compare or get a core block of versions. Based on semantic versioning.
cmdr - POSIX-compliant command-line UI (CLI) parser and Hierarchical-configuration operations
console - Closed-loop application library for Cobra commands (powerful, ready-to-run and easy to use)
go-clap - Lightweight, non intrusive Command Line Argument Parser
dnsee - See DNS configurations quickly
tsukae - 🐚📊 Show off your most used shell commands
cobra-shell - Generate an interactive, autocompleting shell for any Cobra CLI
sprint - SSL Fingerprint Tool written in Go for the CLI and package use.
fm - A terminal based file manager
cobra - A Commander for modern Go CLI interactions