Go CommandLine

Open-source Go projects categorized as CommandLine | Edit details

Top 11 Go CommandLine Projects

  • cobra

    A Commander for modern Go CLI interactions

    Project mention: Cobra CLI no GO | dev.to | 2022-05-23
  • ctop

    Top-like interface for container metrics

    Project mention: Any tool that compares which of 2 docker containers is the best performing? | reddit.com/r/devops | 2022-04-25

    If you're looking for something a bit DIY/YOLO (i.e. quick and cheap), then I would combine a simple CLI load testing tool like Wrk https://github.com/wg/wrk with a basic container observability tool like ctop https://github.com/bcicen/ctop

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • gotests

    Automatically generate Go test boilerplate from your source code.

    Project mention: Take on a better unit test style | reddit.com/r/golang | 2022-02-28

    Did you encounter gotests when you were doing your research? It's a table test generation tool that generates test code using t.Run(). I do wish it could generate tests using testify, because I frequently end up rewriting the code in the inner loop, but I still use it because it's better than I am about ensuring there's a test for all functions I write.

  • hdfs

    A native go client for HDFS

    Project mention: MIT 6.824 MapReduce: Having trouble in connecting Hadoop file system with Golang | reddit.com/r/golang | 2022-04-10

    I have completed the part for MapReduce in Go on a local machine with multiple processes. Now, I want to run it over different machines for which I'll need a distributed file system like Hadoop. I am using HDFS Client for making queries to HDFS, but I am not able to set the appropriate file path in Go for input files. It is giving me an error similar to this issue.

  • tsukae

    🐚📊 Show off your most used shell commands

    Project mention: Is there an app where I can track which apps I use the most and the least | reddit.com/r/commandline | 2021-08-01

    Not exactly what you are looking for but there is a CLI that shows the most shell commands used

  • joincap

    Merge multiple pcap files together, gracefully.

  • flag

    Flag is a simple but powerful command line option parsing library for Go support infinite level subcommand

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • cmdr

    POSIX-compliant command-line UI (CLI) parser and Hierarchical-configuration operations

  • calories

    Calories Tracker for the Commandline

  • warg

    Declarative and Intuitive Command Line Apps with Go

    Project mention: How are YOU using generics so far? | reddit.com/r/golang | 2022-05-20

    I'm writing a CLI parsing library, and generics have let me consolidate most of the flag value functionality for different types. So the flags for dbz --level 9000 --type superSaiyan share most of the same code even though one is an int and one is a string. So much fewer copy-paste-modify lines of code now!

  • exitplan

    Golang Exit Callback for SIGINT & SIGTERM

    Project mention: Looking for some feedback on my first two packages | reddit.com/r/golang | 2021-05-28

    - 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).

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-05-23.

Go CommandLine related posts


What are some of the best open-source CommandLine projects in Go? This list will help you:

Project Stars
1 cobra 26,658
2 ctop 12,856
3 gotests 3,958
4 hdfs 1,170
5 tsukae 424
6 joincap 172
7 flag 118
8 cmdr 105
9 calories 78
10 warg 2
11 exitplan 1
Find remote jobs at our new job board 99remotejobs.com. There are 7 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives