Our great sponsors
-
Cobra and Viper.
-
-
InfluxDB
Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
-
Cobra and Viper.
-
Don't forget https://github.com/charmbracelet/bubbletea and the rest of the https://charm.sh suite!
-
I prefer https://github.com/alecthomas/kong these days
-
I wrote my own! https://github.com/bbkane/warg/
-
-
Mergify
Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.
-
I realy enjoyed the patched version from spf13 with "--" support https://github.com/spf13/pflag
-
https://github.com/jessevdk/go-flags provides a pretty neat way to specify flags and handle commands. Not so much extensible as cobra, but good enough for small cli tools
Related posts
- Show HN: New set of Go libraries for CLI Development
- Libraries for CLI and console applications
- Ask HN: What libraries does go have for building interactive shells?
- Requesting guidance
- climate "CLI Mate": a CLI library that autogenerates CLIs from structs / functions with support for nested subcommands, global / local flags, help generation from godocs, typo suggestions, shell completion and more