Cute Gopher Mascot

The Best Go Libraries For Command Line - Libraries for building standard or basic Command Line applications. (47)

Discover the best Go libraries for Command Line in Libraries for building standard or basic Command Line applications.! Find the perfect tools to streamline your development and boost productivity. From wmenu to acmd, we've got you covered. Let the coding begin!

wmenu

Easy to use menu structure for cli applications that prompt users to make choices.

Discover More! ๐Ÿš€

acmd

Simple, useful, and opinionated CLI package in Go.

Discover More! ๐Ÿš€

argparse

Command line argument parser inspired by Python's argparse module.

Discover More! ๐Ÿš€

argv

Go library to split command line string as arguments array using the bash syntax.

Discover More! ๐Ÿš€

carapace

Command argument completion generator for spf13/cobra.

Discover More! ๐Ÿš€

carapace-bin

Multi-shell multi-command argument completer.

Discover More! ๐Ÿš€

carapace-spec

Define simple completions using a spec file.

Discover More! ๐Ÿš€

climax

Alternative CLI with "human face", in spirit of Go command.

Discover More! ๐Ÿš€

clรฎr

A Simple and Clear CLI library. Dependency free.

Discover More! ๐Ÿš€

cmd

Extends the standard `flag` package to support sub commands and more in idiomatic way.

Discover More! ๐Ÿš€

cmdr

A POSIX/GNU style, getopt-like command-line UI Go library.

Discover More! ๐Ÿš€

cobra

Commander for modern Go CLI interactions.

Discover More! ๐Ÿš€

command-chain

A go library for configure and run command chains - such as pipelining in unix shells.

Discover More! ๐Ÿš€

commandeer

Dev-friendly CLI apps: sets up flags, defaults, and usage based on struct fields and tags.

Discover More! ๐Ÿš€

complete

Write bash completions in Go + Go command bash completion.

Discover More! ๐Ÿš€

Dnote

A simple command line notebook with multi-device sync.

Discover More! ๐Ÿš€

elvish

An expressive programming language and a versatile interactive shell.

Discover More! ๐Ÿš€

env

Tag-based environment configuration for structs.

Discover More! ๐Ÿš€

flag

Simple but powerful command line option parsing library for Go supporting subcommand.

Discover More! ๐Ÿš€

flaggy

A robust and idiomatic flags package with excellent subcommand support.

Discover More! ๐Ÿš€

flagvar

A collection of flag argument types for Go's standard `flag` package.

Discover More! ๐Ÿš€

go-andotp

A CLI program to encrypt/decrypt [andOTP](https://github.com/andOTP/andOTP) files. Can be used as a library as well.

Discover More! ๐Ÿš€

go-arg

Struct-based argument parsing in Go.

Discover More! ๐Ÿš€

go-commander

Go library to simplify CLI workflow.

Discover More! ๐Ÿš€

go-flags

go command line option parser.

Discover More! ๐Ÿš€

go-getoptions

Go option parser inspired by the flexibility of Perlโ€™s GetOpt::Long.

Discover More! ๐Ÿš€

gocmd

Go library for building command line applications.

Discover More! ๐Ÿš€

job

JOB, make your short-term command as a long-term job.

Discover More! ๐Ÿš€

kingpin

Command line and flag parser supporting sub commands (superseded by `kong`; see below).

Discover More! ๐Ÿš€

liner

Go readline-like library for command-line interfaces.

Discover More! ๐Ÿš€

mcli

A minimal but very powerful cli library for Go.

Discover More! ๐Ÿš€

mitchellh/cli

Go library for implementing command-line interfaces.

Discover More! ๐Ÿš€

mkideal/cli

Feature-rich and easy to use command-line package based on golang struct tags.

Discover More! ๐Ÿš€

mow.cli

Go library for building CLI applications with sophisticated flag and argument parsing and validation.

Discover More! ๐Ÿš€

ops

Unikernel Builder/Orchestrator.

Discover More! ๐Ÿš€

pflag

Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.

Discover More! ๐Ÿš€

sand

Simple API for creating interpreters and so much more.

Discover More! ๐Ÿš€

sflags

Struct based flags generator for flag, urfave/cli, pflag, cobra, kingpin, and other libraries.

Discover More! ๐Ÿš€

strumt

Library to create prompt chain.

Discover More! ๐Ÿš€

subcmd

Another approach to parsing and running subcommands. Works alongside the standard `flag` package.

Discover More! ๐Ÿš€

survey

Build interactive and accessible prompts with full support for windows and posix terminals.

Discover More! ๐Ÿš€

teris-io/cli

Simple and complete API for building command line interfaces in Go.

Discover More! ๐Ÿš€

ts

Timestamp convert & compare tool.

Discover More! ๐Ÿš€

ukautz/clif

Small command line interface framework.

Discover More! ๐Ÿš€

urfave/cli

Simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli).

Discover More! ๐Ÿš€

version

Collects and displays CLI version information in multiple formats along with upgrade notice.

Discover More! ๐Ÿš€

wlog

Simple logging interface that supports cross-platform color and concurrency.

Discover More! ๐Ÿš€