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