Go Command-line

Open-source Go projects categorized as Command-line

Top 23 Go Command-line Projects

  • cobra

    A Commander for modern Go CLI interactions

    Latest mention: Tf - A CLI to generate terraform configuration with an interactive prompt | reddit.com/r/commandline | 2021-01-22

    I got into cli applications lately and came across cobra. It was highly intuitive and very much easy to use so I couldn't get enough of it and wanted to create something to make it useful along with promptui.

  • micro-editor

    A modern and intuitive terminal-based text editor

    Latest mention: Show HN: Micro – A platform for cloud native development in Go | news.ycombinator.com | 2021-01-25

    Isn't there [another editor](https://github.com/zyedidia/micro) written in golang called 'micro'?

  • urfave/cli

    A simple, fast, and fun package for building command line apps in Go

    Latest mention: Does anyone know a cli module that allows git-like bash sub commands? | reddit.com/r/golang | 2021-01-21
  • ctop

    Top-like interface for container metrics

    Latest mention: Gui manager for docker | reddit.com/r/docker | 2021-01-08
  • termui

    Golang terminal dashboard

    Latest mention: Terminal based activity monitor for Raspberry Pi 4 | reddit.com/r/raspberry_pi | 2021-01-21

    It's kind of a random question, but I'm really interested in coding a similar ascii-like plotter for running data---as you've done. As I understand it, this is done in Go. I've seen termui as well.

  • gocui

    Minimalist Go package aimed at creating Console User Interfaces.

  • usql

    Universal command-line interface for SQL databases

  • Rich Interactive Widgets for Terminal UIs

    Rich interactive widgets for your terminal UI, written in Go

  • termbox-go

    Pure Go termbox implementation

  • color

    Color package for Go (golang)

  • promptui

    Interactive prompt for command-line applications

    Latest mention: Tf - A CLI to generate terraform configuration with an interactive prompt | reddit.com/r/commandline | 2021-01-22

    I got into cli applications lately and came across cobra. It was highly intuitive and very much easy to use so I couldn't get enough of it and wanted to create something to make it useful along with promptui.

  • go-prompt

    Building powerful interactive prompts in Go, inspired by python-prompt-toolkit.

  • kafka-go

    Kafka library in Go

  • kingpin

    CONTRIBUTIONS ONLY: A Go (golang) command line and flag parser

  • arduino-cli

    Arduino command line tool

    Latest mention: Best method to install Arduino on Linux? | reddit.com/r/arduino | 2021-01-20

    Arduino CLI https://github.com/arduino/arduino-cli

  • The Platinum Searcher

    A code search tool similar to ack and the_silver_searcher(ag). It supports multi platforms and multi encodings.

  • doctl

    The official command line interface for the DigitalOcean API.

    Latest mention: Connect DigitalOcean Kubernetes to GitLab - Tutorial for Windows 10 Users | dev.to | 2021-01-21

    Download and install windows version from doctl

  • tcell

    Tcell is an alternate terminal package, similar in some ways to termbox, but better in others.

  • Dnote

    A simple command line notebook for programmers

  • go-flags

    go command line option parser

  • cointop

    A fast and lightweight interactive terminal based UI application for tracking cryptocurrencies 🚀

  • uiprogress

    A go library to render progress bars in terminal applications

  • readline

    Readline is a pure go(golang) implementation for GNU-Readline kind library

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 2021-01-25.

Index

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

Project Stars
1 cobra 20,175
2 micro-editor 15,964
3 urfave/cli 15,132
4 ctop 11,002
5 termui 10,560
6 gocui 6,905
7 usql 6,079
8 Rich Interactive Widgets for Terminal UIs 5,042
9 termbox-go 3,944
10 color 3,925
11 promptui 3,900
12 go-prompt 3,679
13 kafka-go 3,090
14 kingpin 2,993
15 arduino-cli 2,704
16 The Platinum Searcher 2,670
17 doctl 2,615
18 tcell 2,591
19 Dnote 1,990
20 go-flags 1,850
21 cointop 1,803
22 uiprogress 1,746
23 readline 1,592