Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 17 Go CommandLine Projects
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
flag
Flag is a simple but powerful command line option parsing library for Go support infinite level subcommand
-
flags
Generate cobra command trees from structs. Go-flags compliant tags. Advanced CLI functionality, out-of-the-box. (by reeflective)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
We can use the flag with --date or -date, Go already does the automatic check. We can make our entire boilerplate with this approach, but let's make it a little easier and use the Cobra CLI package.
This does remind me of ctop as well: https://github.com/bcicen/ctop
It also let's you look at containers, resource usage graphs, their logs and even do some actions through a TUI.
A huge time-saver for me when generating table-driven test boilerplate in Go has been using gotests[0] to generate the template.
If you use VSCode with the Go extension it's already available there as a command "Go: Generate Unit Tests for Function/Package".
Project mention: Any tool for committing the same change across multiple repos? | /r/git | 2023-04-30Sounds similar to multi-gitter https://github.com/lindell/multi-gitter
Project mention: Gemini-CLI: Have a chat with Google's most recent AI model in your terminal | news.ycombinator.com | 2024-02-18
Project mention: What is the difference between a 'terminal', a 'shell', a 'TTY' and a 'console'? | news.ycombinator.com | 2024-01-13Recently I've been wondering if there is a "build your own X" for some of these concepts. For example, there is https://github.com/xyproto/vt100 which seems relatively straightforward (though maybe not "simple") to learn from but are there any resources that would actually teach this stuff?
Funcopts aren't always appropriate, but boy do they make things more readable sometimes. I use them pervasively in warg to allow declarative nested CLI commands
Go CommandLine related posts
- An Efficient Struct Configuration Pattern For Golang
- Go: Functional Options Are Slow
- MIT 6.824 MapReduce: Having trouble in connecting Hadoop file system with Golang
- Generate JSON or YAML using a more convenient syntax for command line "mumbo-jumbo".
- Generate JSON or YAML using a more convenient syntax for command line "mumbo-jumbo".
- Hadoop with Golang?
- Read / weite HDFS file using java or python sdk in go sdk
-
A note from our sponsor - InfluxDB
www.influxdata.com | 19 Apr 2024
Index
What are some of the best open-source CommandLine projects in Go? This list will help you:
Project | Stars | |
---|---|---|
1 | cobra | 35,891 |
2 | ctop | 15,127 |
3 | gotests | 4,847 |
4 | hdfs | 1,342 |
5 | multi-gitter | 761 |
6 | tsukae | 435 |
7 | nice | 208 |
8 | joincap | 202 |
9 | cmdr | 131 |
10 | flag | 130 |
11 | calories | 100 |
12 | gemini-cli | 39 |
13 | vt100 | 26 |
14 | barkfetch | 15 |
15 | warg | 13 |
16 | flags | 8 |
17 | exitplan | 1 |