Go CommandLine

Open-source Go projects categorized as CommandLine

Top 17 Go CommandLine Projects

  • cobra

    A Commander for modern Go CLI interactions

  • Project mention: The power of the CLI with Golang and Cobra CLI | dev.to | 2024-04-06

    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.

  • ctop

    Top-like interface for container metrics

  • Project mention: Lazydocker | news.ycombinator.com | 2023-07-18

    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.

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

    WorkOS logo
  • gotests

    Automatically generate Go test boilerplate from your source code.

  • Project mention: Russ Cox: Go Testing by Example | news.ycombinator.com | 2023-12-05

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

    [0] https://github.com/cweill/gotests

  • hdfs

    A native go client for HDFS

  • multi-gitter

    Update multiple repositories in with one command

  • Project mention: Any tool for committing the same change across multiple repos? | /r/git | 2023-04-30

    Sounds similar to multi-gitter https://github.com/lindell/multi-gitter

  • tsukae

    🐚📊 Show off your most used shell commands

  • nice

    Highly customizable and idiomatic Go CLI app framework 👌

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

    InfluxDB logo
  • joincap

    Merge multiple pcap files together, gracefully.

  • cmdr

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

  • flag

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

  • calories

    Calories Tracker for the Commandline

  • gemini-cli

    A command-line interface (CLI) for Google Gemini

  • Project mention: Gemini-CLI: Have a chat with Google's most recent AI model in your terminal | news.ycombinator.com | 2024-02-18
  • vt100

    :computer: VT100 Terminal Package (by xyproto)

  • Project mention: What is the difference between a 'terminal', a 'shell', a 'TTY' and a 'console'? | news.ycombinator.com | 2024-01-13

    Recently 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?

  • barkfetch

    Alternative to neofetch, written in go

  • warg

    Declarative and Intuitive Command Line Apps with Go

  • Project mention: An Efficient Struct Configuration Pattern For Golang | /r/golang | 2023-05-04

    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

  • flags

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

  • exitplan

    Golang Exit Callback for SIGINT & SIGTERM

  • 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). The latest post mention was on 2024-04-06.

Go CommandLine related posts

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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com