Go CommandLine

Open-source Go projects categorized as CommandLine

Top 19 Go CommandLine Projects

CommandLine
  1. cobra

    A Commander for modern Go CLI interactions

    Project mention: Show HN: Convert Go to Rust | news.ycombinator.com | 2026-01-14

    and it gives you a Rust dependency.

    > $ rinku lookup https://github.com/spf13/cobra

  2. Kargo

    Stop Scripting Promotions. Start Shipping with Kargo. Kargo automates promotion across dev, staging, and prod with approval gates and verification. Open source, built by the team behind Argo CD. Download now.

    Kargo logo
  3. ctop

    Top-like interface for container metrics

    Project mention: Portainer vs Lazydocker: Which Docker UI? | dev.to | 2026-03-10

    No. Portainer is web-only. You can open a container console through the Portainer web UI, but Portainer itself has no terminal interface. If you want a TUI, use Lazydocker or ctop.

  4. gotests

    Automatically generate Go test boilerplate from your source code.

  5. hdfs

    A native go client for HDFS

  6. multi-gitter

    Update multiple repositories in with one command

  7. tsukae

    🐚📊 Show off your most used shell commands

  8. gemini-cli

    A command-line interface (CLI) for Google Gemini (by reugn)

  9. AppSignal

    Monitoring that respects your time & budget. APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.

    AppSignal logo
  10. joincap

    Merge multiple pcap files together, gracefully.

  11. nice

    Highly customizable and idiomatic Go CLI app framework 👌

  12. cmdr

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

  13. flag

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

  14. calories

    Calories Tracker for the Commandline

  15. warg

    Declarative CLI framework

    Project mention: It's OK to Use Agentic to Revive the Projects You Never Were Going to Finish | news.ycombinator.com | 2026-04-25

    I've been doing the same thing with my CLI framework. Rethinking and rebuilding with no pressure to finish is a lot of fun.

    I've been using the CHANGELOG [0] as a "blog" explaining WHY I made the changes and that's really been fun to look back and read too

    0: https://github.com/bbkane/warg/blob/master/CHANGELOG.md

  16. orpheus

    Orpheus is a high-performance CLI framework designed to be super simple and ~30× faster than popular alternatives with zero external dependencies. Built on FlashFlags, Orpheus provides a simple interface to create modern, fast CLI apps similar to git. (by agilira)

    Project mention: Show HN: Orpheus – A high-performance Go CLI framework with no ext. dependencies | news.ycombinator.com | 2025-10-09

    Everything you need—benchmarks, intensive fuzz tests, and all security checks—is included in the repo. The project is licensed under MPL-2.0.

    https://github.com/agilira/orpheus

    I’d be grateful for your feedback, especially from those who have built large CLI applications in Go or maintain internal developer tooling. What are your biggest pain points with existing frameworks?

    Thanks for taking a look.

  17. rdf2smw

    Convert RDF to Semantic MediaWiki facts in MediaWiki XML format, with a standalone commandline tool

  18. barkfetch

    Alternative to neofetch, written in go

  19. flags

    Generate cobra command trees from structs. Go-flags compliant tags. Advanced CLI functionality, out-of-the-box. (by reeflective)

  20. exitplan

    Golang Exit Callback for SIGINT & SIGTERM

  21. myflags

    a golang module making flag/command line argument easy, define all commands/flags in a single struct

  22. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

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

Go CommandLine discussion

Log in or Post with

Go CommandLine related posts

  • argp: GNU-style command line argument parser for Go

    11 projects | news.ycombinator.com | 23 Mar 2025
  • An Efficient Struct Configuration Pattern For Golang

    4 projects | /r/golang | 4 May 2023
  • Go: Functional Options Are Slow

    1 project | news.ycombinator.com | 25 May 2022
  • MIT 6.824 MapReduce: Having trouble in connecting Hadoop file system with Golang

    2 projects | /r/golang | 10 Apr 2022
  • Generate JSON or YAML using a more convenient syntax for command line "mumbo-jumbo".

    1 project | /r/commandline | 21 Apr 2021
  • Generate JSON or YAML using a more convenient syntax for command line "mumbo-jumbo".

    2 projects | /r/golang | 21 Apr 2021
  • Hadoop with Golang?

    2 projects | /r/golang | 16 Mar 2021
  • A note from our sponsor - SaaSHub
    www.saashub.com | 7 Sep 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 cobra 44,574
2 ctop 17,779
3 gotests 5,329
4 hdfs 1,404
5 multi-gitter 1,232
6 tsukae 431
7 gemini-cli 219
8 joincap 218
9 nice 209
10 cmdr 141
11 flag 132
12 calories 110
13 warg 56
14 orpheus 33
15 rdf2smw 20
16 barkfetch 19
17 flags 13
18 exitplan 1
19 myflags 1

Sponsored
Stop Scripting Promotions. Start Shipping with Kargo
Kargo automates promotion across dev, staging, and prod with approval gates and verification. Open source, built by the team behind Argo CD. Download now.
akuity.io

Did you know that Go is
the 4th most popular programming language
based on number of references?