Standard CLI
49 libraries in Command Line / Standard CLI
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
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
CLI framework with security hardening, plugin storage system, and production observability features
Shell library with modern and easy to use UI features
Eliminate Cobra boilerplate: build powerful, feature-rich CLIs declaratively from Go structs