Awesome Go Command Line Tools

  • 1build 1build 226
    star
    updated over 1 year ago MIT License

    Frictionless way of managing project-specific commands

  • acmd acmd 115
    star
    updated 7 months ago MIT License

    Simple, useful and opinionated CLI package in Go.

  • andOTP andOTP 3,757
    star
    updated over 2 years ago MIT License

    [Unmaintained] Open source two-factor authentication for Android

  • updated about 2 years ago MIT License

    Argparse for golang. Just because `flag` sucks

  • argv argv 41
    star
    updated over 4 years ago MIT License
  • updated 3 months ago BSD 3-Clause "New...

    Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.

  • aurora aurora 1,420
    star
    updated about 2 years ago The Unlicense

    Golang ultimate ANSI-colors that supports Printf/Sprintf methods

  • ben ben 66
    star
    updated almost 7 years ago MIT License

    Your benchmark assistant, written in Go.

  • updated 11 months ago MIT License

    Build terminal dashboards using ascii/ansi art and javascript

  • updated 12 months ago MIT License

    Make Highly Customized Boxes for CLI

  • bubbles bubbles 5,325
    star
    updated 3 months ago MIT License

    TUI components for Bubble Tea 🫧

  • bubbletea bubbletea 26,561
    star
    updated 3 months ago MIT License

    A powerful little TUI framework 🏗

  • updated almost 2 years ago Apache License 2.0

    Calories Tracker for the Commandline

  • updated 9 months ago Apache License 2.0

    command argument completion generator for spf13/cobra

  • updated 9 months ago MIT License

    multi-shell multi-command argument completer

  • updated 9 months ago MIT License

    define simple completions using a spec file

  • cfmt cfmt 103
    star
    updated almost 6 years ago MIT License

    🎨 Contextual fmt inspired by bootstrap color classes

  • cfmt cfmt 62
    star
    updated over 3 years ago MIT License

    Small library for simple and convenient formatted stylized output to the console.

  • chalk chalk 429
    star
    updated about 5 years ago MIT License

    Intuitive package for prettifying terminal/console output. http://godoc.org/github.com/ttacon/chalk

  • cli cli 1,724
    star
    updated about 1 year ago Mozilla Public Li...

    A Go library for implementing command-line interfaces.

  • cli cli 22,097
    star
    updated 3 months ago MIT License

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

  • cli cli 694
    star
    updated over 1 year ago MIT License

    CLI - A package for building command line app with go

  • clif clif 128
    star
    updated almost 6 years ago MIT License

    Another CLI framework for Go. It works on my machine.

  • climax climax 216
    star
    updated about 4 years ago MIT License

    Climax is an alternative CLI with the human face

  • clir clir 153
    star
    updated over 1 year ago MIT License

    A Simple and Clear CLI library. Dependency free.

  • updated over 1 year ago Apache License 2.0

    Local Builder runs Google Cloud Build builds locally, allowing faster debugging, less vendor lock-in, and integration into local build and test workflows.

  • clui clui 671
    star
    updated over 2 years ago MIT License

    Command Line User Interface (Console UI inspired by TurboVision)

  • cmd cmd 41
    star
    updated about 4 years ago Apache License 2.0

    The standard library flag package with its missing features

  • cmdr cmdr 135
    star
    updated about 1 month ago Apache License 2.0

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

  • cobra cobra 37,720
    star
    updated 3 months ago Apache License 2.0

    A Commander for modern Go CLI interactions

  • updated 7 months ago Apache License 2.0

    The GitHub CODEOWNERS file validator

  • cointop cointop 3,994
    star
    updated 8 months ago Apache License 2.0

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

  • color color 1,342
    star
    updated over 1 year ago MIT License

    🎨 Terminal color rendering library, support 8/16 colors, 256 colors, RGB color rendering output, support Print/Sprintf methods, compatible with Windows. GO CLI 控制台颜色渲染工具库,支持16色,256色,RGB色彩渲染输出,使用类似于 Print/Sprintf,兼容并支持 Windows 环境的色彩渲染

  • color color 6,536
    star
    updated about 1 year ago MIT License

    Color package for Go (golang)

  • updated over 2 years ago MIT License

    An ANSI colour terminal package for Go

  • updated about 2 years ago MIT License

    Automatically sets up command line flags based on struct fields and tags.

  • updated over 1 year ago MIT License

    bash completion written in go + bash completion for go command

  • confd confd 8,339
    star
    updated 4 months ago MIT License

    Manage local application configuration files using templates and data from etcd or consul

  • updated 3 months ago Apache License 2.0

    validate the structure of your container images

  • updated over 2 years ago MIT License

    Dynamic configuration file templating tool for kubernetes manifest or general configuration files

  • updated about 2 months ago MIT License

    The unix-way web crawler

  • ctc ctc 42
    star
    updated almost 2 years ago MIT License

    Console Text Colors - The non-invasive cross-platform terminal color library does not need to modify the Print method

  • dnote dnote 2,742
    star
    updated 5 months ago Other

    A simple command line notebook for programmers

  • docopt.go docopt.go 1,430
    star
    updated 12 months ago MIT License

    A command-line arguments parser that will make you smile.

  • updated 4 months ago MIT License

    ⚡️Lightning-fast linter for .env files. Written in Rust 🦀

  • elvish elvish 5,666
    star
    updated about 1 month ago BSD 2-Clause "Sim...

    Powerful scripting language & versatile interactive shell

  • env env 106
    star
    updated over 4 years ago MIT License

    Tag-based environment configuration for structs

  • flag flag 131
    star
    updated almost 4 years ago MIT License

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

  • flaggy flaggy 831
    star
    updated over 1 year ago The Unlicense

    Idiomatic Go input parsing with subcommands, positional values, and flags at any position. No required project or package layout and no external dependencies.

  • updated over 1 year ago The Unlicense

    A collection of CLI argument types for the Go `flag` package.

  • frep frep 154
    star
    updated over 1 year ago Apache License 2.0

    Generate file using template from environment, arguments, json/yaml/toml config files

  • gcli gcli 314
    star
    updated over 1 year ago MIT License

    🖥 Go CLI application, tool library, running CLI commands, support console color, user interaction, progress display, data formatting display, generate bash/zsh completion add more features. Go的命令行应用,工具库,运行CLI命令,支持命令行色彩,用户交互,进度显示,数据格式化显示,生成bash/zsh命令补全脚本

  • gcli gcli 921
    star
    updated about 7 years ago MIT License

    The easy way to build Golang command-line application.

  • git-town git-town 2,502
    star
    updated 3 months ago MIT License

    Git branches made easy

  • gkit gkit 306
    star
    updated 7 months ago Apache License 2.0

    A collection of basic usability component tools dedicated to providing micro-services and single services, drawing on some excellent open source project features such as kratos, go-kit, mosn, sentinel, gopkg core components. I hope you will use and mention issue and pr more often.

  • updated almost 4 years ago MIT License

    Another Text Attribute Manupulator

  • gocmd gocmd 66
    star
    updated over 1 year ago MIT License

    A Go library for building command line applications.

  • updated over 1 year ago MIT License
  • updated over 4 years ago Other

    Change the color of console text.

  • updated over 1 year ago MIT License

    A go library for easy configure and run command chains. Such like pipelining in unix shells.

  • updated over 4 years ago MIT License

    Go library to simplify CLI workflow

  • updated 9 months ago The Unlicense

    GoConsole: the golang component that eases the creation of beautiful command line interfaces.

  • gocui gocui 9,781
    star
    updated 10 months ago BSD 3-Clause "New...

    Minimalist Go package aimed at creating Console User Interfaces.

  • go-flags go-flags 2,436
    star
    updated over 1 year ago BSD 3-Clause "New...

    go command line option parser

  • updated 5 months ago Mozilla Public Li...

    Fully featured Go (golang) command line option parser with built-in auto-completion support.

  • updated over 1 year ago MIT License
  • updated over 1 year ago

    Network Port Scanner created with Go language

  • updated over 1 year ago MIT License

    Decorate your terminals using Palette 🎨

  • go-prompt go-prompt 5,254
    star
    updated 4 months ago MIT License

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

  • goreleaser goreleaser 13,560
    star
    updated 3 months ago MIT License

    Deliver Go binaries as fast and easily as possible

  • hostctl hostctl 1,056
    star
    updated 10 months ago MIT License

    Your dev tool to manage /etc/hosts like a pro!

  • job job 145
    star
    updated over 4 years ago

    JOB, make your short-term command as a long-term job. 将命令行规划成任务的工具

  • k3sup k3sup 5,267
    star
    updated over 1 year ago Other

    bootstrap K3s over SSH in < 60s 🚀

  • kcli kcli 194
    star
    updated over 1 year ago MIT License

    A kafka command line browser

  • kingpin kingpin 3,497
    star
    updated about 2 months ago MIT License

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

  • kong kong 2,132
    star
    updated 22 days ago MIT License

    Kong is a command-line parser for Go

  • kpt kpt 1,509
    star
    updated over 1 year ago Apache License 2.0

    Automate Kubernetes Configuration Editing

  • lf lf 6,628
    star
    updated 12 months ago MIT License

    Terminal file manager

  • liner liner 1,048
    star
    updated over 1 year ago MIT License

    Pure Go line editor with history, inspired by linenoise

  • lipgloss lipgloss 7,832
    star
    updated 3 months ago MIT License

    Style definitions for nice terminal layouts 👄

  • mani mani 437
    star
    updated about 2 months ago MIT License

    🤖 CLI tool to help you manage repositories

  • updated about 1 year ago MIT License

    🖍️ Marker is the easiest way to match and mark strings for colorful terminal outputs!

  • mcli mcli 24
    star
    updated 10 months ago MIT License

    A minimal but powerful cli library for Go

  • updated 9 months ago MIT License

    A versatile library for building CLI applications in Go

  • mpb mpb 2,304
    star
    updated 3 months ago The Unlicense

    multi progress bar for Go cli applications

  • ops ops 1,187
    star
    updated 8 months ago MIT License

    ops - build and run nanos unikernels

  • updated over 1 year ago MIT License

    A really basic thread-safe progress bar for Golang applications

  • pterm pterm 4,794
    star
    updated about 2 months ago MIT License

    ✨ #PTerm is a modern Go module to easily beautify console output. Featuring charts, progressbars, tables, trees, text input, select menus and much more 🚀 It's completely configurable and 100% cross-platform compatible.

  • readline readline 2,060
    star
    updated 5 months ago MIT License

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

  • sand sand 26
    star
    updated about 6 years ago MIT License

    Package for creating interpreters

  • sflags sflags 150
    star
    updated over 3 years ago BSD 3-Clause "New...

    Generate flags by parsing structures

  • updated about 2 years ago Other

    A faster way to change directory and improve command line productivity.

  • updated over 3 years ago MIT License

    Simple tables in terminal with Go

  • skaffold skaffold 14,994
    star
    updated about 1 month ago Apache License 2.0

    Easy and Repeatable Kubernetes Development

  • spinner spinner 2,150
    star
    updated over 1 year ago Apache License 2.0

    Go (golang) package with 90 configurable terminal spinner/progress indicators.

  • updated over 1 year ago MIT License

    Strumt is a library to create prompt chain

  • sttr sttr 799
    star
    updated 10 months ago MIT License

    cross-platform, cli app to perform various operations on string

  • updated 5 months ago MIT License
  • updated about 2 years ago Apache License 2.0

    Go subcommand library.

  • tabby tabby 338
    star
    updated almost 4 years ago MIT License

    A tiny library for super simple Golang tables

  • table table 46
    star
    updated over 1 year ago MIT License

    pretty colorfull tables in go with less effort

  • updated over 1 year ago MIT License

    Tabular simplifies printing ASCII tables from command line utilities

  • tcell tcell 4,382
    star
    updated 7 months ago Apache License 2.0

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

  • updated almost 3 years ago MIT License

    Pure Go termbox implementation

  • termdash termdash 2,716
    star
    updated about 2 months ago Apache License 2.0

    Terminal based dashboard.

  • termenv termenv 1,712
    star
    updated 2 months ago MIT License

    Advanced ANSI style & color support for your terminal applications

  • updated 5 months ago BSD 3-Clause "New...

    Cross-platform (Windows, Mac, Linux) integration testing for your terminals

  • updated over 1 year ago MIT License

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

  • trubka trubka 330
    star
    updated over 1 year ago Apache License 2.0

    A CLI tool for Kafka

  • ts ts 20
    star
    updated over 5 years ago Apache License 2.0

    timestamp convert & compare tool. 时间戳转换与对比工具

  • tui-go tui-go 2,093
    star
    updated about 3 years ago MIT License

    A UI library for terminal applications.

  • tview tview 10,536
    star
    updated 4 months ago MIT License

    Terminal UI library with rich, interactive widgets — written in Golang

  • uilive uilive 1,687
    star
    updated over 1 year ago MIT License

    uilive is a go library for updating terminal output in realtime

  • updated 9 months ago MIT License

    A go library to render progress bars in terminal applications

  • updated about 2 years ago MIT License

    A go library to improve readability in terminal apps using tabular data

  • vacuum vacuum 589
    star
    updated about 1 month ago MIT License

    vacuum is the worlds fastest OpenAPI 3, OpenAPI 2 / Swagger linter and quality analysis tool. Built in go, it tears through API specs faster than you can think. vacuum is compatible with Spectral rulesets and generates compatible reports.

  • updated over 1 year ago MIT License

    🧬 Pure DNA of your CLI!

  • wlog wlog 66
    star
    updated 6 months ago MIT License

    A simple logging interface that supports cross-platform color and concurrency.

  • wmenu wmenu 216
    star
    updated 6 months ago MIT License

    An easy to use menu structure for cli applications that prompts users to make choices.

  • updated almost 3 years ago Apache License 2.0

    Yet Another CLi Spinner; providing over 80 easy to use and customizable terminal spinners for multiple OSes