Command Line
100+ libraries in this category
Go framework to build terminal apps, based on The Elm Architecture
Commander for modern Go CLI interactions
Simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli)
Your CLI home video recorder - generate terminal GIFs from code for documentation and tutorials
Terminal JSON viewer & processor
Go terminal dashboard based on **termbox-go** and inspired by [blessed-contrib](https://github.com/yaronn/blessed-contrib)
Declaratively define styles for color, format and layout in the terminal
Minimalist Go library aimed at creating Console User Interfaces
TUI components for bubbletea
Lightweight library for building interactive forms and prompts in the terminal
An expressive programming language and a versatile interactive shell
A library to beautify console output on every platform with many combinable components
Library for building a powerful interactive prompt, inspired by [python-prompt-toolkit](https://github.com/jonathanslenders/python-prompt-toolkit)
Termbox is a library for creating cross-platform text-based interfaces
Basic thread-safe progress bar that works in every OS
Build interactive and accessible prompts with full support for windows and posix terminals.
Stylesheet-based markdown rendering for terminal applications
Command line and flag parser supporting sub commands (superseded by `kong`; see below)
Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies
A simple command line notebook with multi-device sync
Go terminal dashboard based on **termbox-go** and inspired by [termui](https://github.com/gizak/termui)
Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags
go command line option parser
Go package to easily provide a terminal spinner with options
Multi progress bar for terminal applications
Struct-based argument parsing in Go
Flexible library to render progress bars in terminal applications
Advanced ANSI style & color support for your terminal applications
Multi-shell multi-command argument completer
Go library for implementing command-line interfaces.
Library for updating terminal output in real time
Terminal color rendering tool library, support 16 colors, 256 colors, RGB color rendering output, compatible with Windows
Unikernel Builder/Orchestrator
ANSI terminal colors that support fmt.Printf/Sprintf
Command argument completion generator for spf13/cobra
Go readline-like library for command-line interfaces
Write bash completions in Go + Go command bash completion
A robust and idiomatic flags package with excellent subcommand support
isatty for golang
Go library for building CLI applications with sophisticated flag and argument parsing and validation
Colorable writer for windows
Library to improve readability in terminal apps using tabular data
Feature-rich and easy to use command-line package based on golang struct tags
Render highly customizable boxes in the terminal
Command line argument parser inspired by Python's argparse module
Style terminal text
An interactive table component for bubbletea
Simple tables in a terminal with Go
Make Highly Customized Boxes for your CLI.
Yet Another CLi Spinner package, for working with terminal spinners
Intuitive package for prettifying terminal/console output.
A declarative terminal UI framework with templ-like templates, flexbox layout, and a language server for editor support
A tiny library for super simple Golang tables
Easy to use menu structure for cli applications that prompt users to make choices
Go library for color output in terminals
Alternative CLI with "human face", in spirit of Go command
Cross-platform CLI that generates Git commit messages automatically from code changes
A Simple and Clear CLI library. Dependency free
cli application framework with auto configuration and dependency injection
Dev-friendly CLI apps: sets up flags, defaults, and usage based on struct fields and tags
Struct based flags generator for flag, urfave/cli, pflag, cobra, kingpin, and other libraries
Simple, useful, and opinionated CLI package in Go
JOB, make your short-term command as a long-term job
Shell library with modern and easy to use UI features
A POSIX/GNU style, getopt-like command-line UI Go library
Simple and complete API for building command line interfaces in Go
Simple but powerful command line option parsing library for Go supporting subcommand.
Small command line interface framework.
Signal-based reactive components framework for building TUIs
Tag-based environment configuration for structs
Collects and displays CLI version information in multiple formats along with upgrade notice
Contextual fmt inspired by bootstrap color classes.
Print ASCII tables from command line utilities without the need to pass large sets of data to the API.
A go library for configure and run command chains - such as pipelining in unix shells
Go library for building command line applications
Simple logging interface that supports cross-platform color and concurrency
Simple and convenient formatted stylized output fully compatible with fmt library.
TUI for browsing, comparing, and editing .env files
Library to create prompt chain
Go option parser inspired by the flexibility of Perl’s GetOpt::Long
The non-invasive cross-platform terminal color library does not need to modify the Print method
Easiest way to match and mark strings for colorful terminal outputs
Small library for terminal color based tables
A collection of flag argument types for Go's standard `flag` package
Declarative flags, env vars, validation, and config files from struct tags. Built on cobra
Extends the standard `flag` package to support sub commands and more in idiomatic way
A minimal but very powerful cli library for Go
High-performance TUI framework with Elm-inspired architecture, perfect Unicode rendering, and zero-allocation event system
OpenAPI-style specification for CLIs; define your interface in a language-agnostic document to generate documentation and framework boilerplate code
Go library to split command line string as arguments array using the bash syntax
Go library for implementing command-line interfaces
A customizable line-editing library with Emacs keybindings, Unicode support, completion, and syntax highlighting. Used in NYAGOS shell
Go library to simplify CLI workflow.
Define simple completions using a spec file
CLI framework with security hardening, plugin storage system, and production observability features
goscaf generates opinionated, production-quality Go project boilerplate via an interactive CLI. Stop copy-pasting skeleton code between projects
A CLI program to encrypt/decrypt [andOTP](https://github.com/andOTP/andOTP) files. Can be used as a library as well.
Go library for ANSI colour text in terminals.
Simple API for creating interpreters and so much more.
Go library for rendering ANSI colored text templates in terminals