CLI

urfave/cli

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

Stars4964
Contributors104
Forks499
Watchers156
Issues44

spf13/cobra

A Commander for modern Go CLI interactions

Stars3000
Contributors83
Forks273
Watchers99
Issues87

nsf/termbox-go

Pure Go termbox implementation

Stars1916
Contributors35
Forks172
Watchers95
Issues28

fatih/color

Color package for Go (golang)

Stars1246
Contributors15
Forks104
Watchers32
Issues1

jroimartin/gocui

Minimalist Go package aimed at creating Console User Interfaces.

Stars1136
Contributors10
Forks79
Watchers46
Issues10

gosuri/uiprogress

A go library to render progress bars in terminal applications

Stars851
Contributors5
Forks34
Watchers22
Issues9

cheggaaa/pb

Console progress bar for Golang

Stars839
Contributors41
Forks108
Watchers23
Issues5

alecthomas/kingpin

A Go (golang) command line and flag parser

Stars800
Contributors24
Forks69
Watchers22
Issues6

docopt/docopt.go

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

Stars755
Contributors4
Forks60
Watchers27
Issues17

chzyer/readline

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

Stars678
Contributors19
Forks42
Watchers26
Issues15

jessevdk/go-flags

go command line option parser

Stars665
Contributors27
Forks98
Watchers22
Issues6

tcnksm/gcli

The easy way to build Golang command-line application.

Stars603
Contributors16
Forks54
Watchers24
Issues12

mitchellh/cli

A Go library for implementing command-line interfaces.

Stars482
Contributors12
Forks40
Watchers19
Issues8

gosuri/uilive

uilive is a go library for updating terminal output in realtime

Stars477
Contributors4
Forks13
Watchers12
Issues5

olekukonko/tablewriter

ASCII table in golang

Stars472
Contributors17
Forks56
Watchers23
Issues19

jawher/mow.cli

A versatile library for building CLI applications in Go

Stars381
Contributors7
Forks24
Watchers20
Issues5

mitchellh/ioprogress

Go (golang) package for progress bars around io.Reader/Writers.

Stars362
Contributors3
Forks28
Watchers12
Issues1

gosuri/uitable

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

Stars356
Contributors6
Forks11
Watchers14
Issues1

ogier/pflag

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

Stars334
Contributors7
Forks91
Watchers11
Issues8

tj/go-spin

Terminal spinner package for Golang

Stars293
Contributors6
Forks14
Watchers6
Issues3

briandowns/spinner

Go (golang) package for providing a terminal spinner/progress indicator with options.

Stars270
Contributors9
Forks16
Watchers9
Issues0

sethgrid/multibar

Display multiple progress bars in Go (golang).

Stars226
Contributors3
Forks12
Watchers7
Issues5

mitchellh/colorstring

Go (golang) library for colorizing strings for terminal output.

Stars184
Contributors3
Forks19
Watchers9
Issues4

mgutz/ansi

Small, fast library to create ANSI colored strings and codes. [go, golang]

Stars182
Contributors3
Forks24
Watchers1
Issues6

ttacon/chalk

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

Stars182
Contributors3
Forks12
Watchers10
Issues2

buger/goterm

Advanced terminal output in Go

Stars168
Contributors5
Forks16
Watchers5
Issues3

joliv/spark

Sparklines for Go.

Stars165
Contributors2
Forks6
Watchers5
Issues0

namsral/flag

Parse files and environment variables along with flags

Stars160
Contributors6
Forks18
Watchers4
Issues0

Bowery/prompt

Cross platform prompting library

Stars158
Contributors5
Forks9
Watchers15
Issues0

daviddengcn/go-colortext

Change the color of console text.

Stars148
Contributors3
Forks12
Watchers11
Issues0

mattn/go-colorable

Colorable writer for windows.

Stars142
Contributors8
Forks26
Watchers10
Issues3

wsxiaoys/terminal

Colorful terminal output for Golang

Stars142
Contributors6
Forks19
Watchers8
Issues3

bndr/gotabulate

Gotabulate - Easily pretty-print your tabular data with Go

Stars134
Contributors3
Forks8
Watchers5
Issues0

voxelbrain/goptions

A flexible parser for command line options

Stars119
Contributors3
Forks27
Watchers9
Issues3

deiwin/interact

A Golang utility belt for interacting with the user over a CLI

Stars117
Contributors1
Forks2
Watchers3
Issues0

kyokomi/emoji

:sushi: emoji terminal output for golang

Stars115
Contributors4
Forks14
Watchers4
Issues1

aybabtme/rgbterm

RGB colors for your terminal

Stars104
Contributors4
Forks12
Watchers5
Issues0
Stars97
Contributors6
Forks19
Watchers2
Issues1

segmentio/go-prompt

Go terminal prompts.

Stars92
Contributors6
Forks17
Watchers38
Issues2

mattn/go-shellwords

Parse line as shell words

Stars91
Contributors2
Forks12
Watchers8
Issues0

nemith/goline

A simple readline facility for Go. Based on the C library Linenoise

Stars76
Contributors2
Forks5
Watchers3
Issues10

ukautz/clif

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

Stars73
Contributors2
Forks7
Watchers2
Issues3

laher/someutils

Some CLI utilities written in Go. Mainly intended as Unixlike commands for Windows, but cross-platform anyway. Just because

Stars71
Contributors1
Forks7
Watchers5
Issues2

nhooyr/color

fmt.Printf with verbs for producing colored output

Stars69
Contributors1
Forks2
Watchers4
Issues0

apcera/termtables

Go ASCII Table Generator, ported from the Ruby terminal-tables library

Stars68
Contributors7
Forks9
Watchers69
Issues8

Spatially/go-flagged

Declarative flag parameters as struct tags

Stars65
Contributors2
Forks0
Watchers4
Issues0

gonuts/commander

Simplify the creation of command line interfaces for Go, with commands and sub-commands, with argument checks and contextual usage help. mirror of http://code.google.com/p/go-commander/.

Stars61
Contributors6
Forks6
Watchers4
Issues0

crackcomm/go-clitable

Command line (ASCII) and Markdown table for Golang. You probably want to take a look at: https://github.com/olekukonko/tablewriter

Stars59
Contributors2
Forks6
Watchers5
Issues0

robmerrell/comandante

Simple command line interfaces for go

Stars55
Contributors2
Forks2
Watchers1
Issues0

agtorre/gocolorize

Stateful ANSI coloring for Go

Stars47
Contributors2
Forks4
Watchers2
Issues0

shiena/ansicolor

Ansicolor library provides color console in Windows as ANSICON for Golang.

Stars45
Contributors5
Forks13
Watchers6
Issues1

turret-io/go-menu

A library for building simple, interactive, menus in Go

Stars43
Contributors2
Forks10
Watchers3
Issues1

rakyll/command

CLI subcommands for Go

Stars37
Contributors2
Forks7
Watchers4
Issues3

getwe/figlet4go

A port of figlet to golang

Stars37
Contributors3
Forks5
Watchers2
Issues0

romanoff/gofh

Go flags handler

Stars36
Contributors1
Forks0
Watchers3
Issues0

chzyer/flagly

The easier way to parsing command-line flag in Golang, also building a command line app.

Stars35
Contributors1
Forks1
Watchers2
Issues1

ProfOak/flag2

A more traditional flag library for the go programming language

Stars33
Contributors2
Forks2
Watchers2
Issues0

stevedomin/termtable

Easily generate tables in your terminal using Go

Stars30
Contributors3
Forks6
Watchers1
Issues1

foize/go.sgr

Terminal/console colors and text decoration (bold,underlined,etc). Uses ANSI SGR: Select Graphic Rendition

Stars29
Contributors1
Forks5
Watchers6
Issues1

jteeuwen/go-pkg-optarg

A commandline parser in go. Single and multi-character option names with - and -- switches. Decent formatted Usage() output.

Stars29
Contributors2
Forks4
Watchers3
Issues2

mitchellh/go-wordwrap

A Go (golang) library for wrapping words in a string.

Stars26
Contributors2
Forks7
Watchers1
Issues1

remogatto/clingon

A Go package for implementing command-line interfaces for games and graphical applications

Stars23
Contributors3
Forks7
Watchers2
Issues1

hpcloud/golor

Go terminal color package (256 colors)

Stars20
Contributors2
Forks1
Watchers58
Issues0

lunixbochs/vtclean

strips terminal escapes from text, can preserve color

Stars19
Contributors1
Forks2
Watchers1
Issues0

aybabtme/color

Colorize your terminal strings.

Stars18
Contributors1
Forks2
Watchers2
Issues0

tchap/gocli

A tiny helper library to manage subcommands in your Go CLI application

Stars18
Contributors1
Forks0
Watchers1
Issues1

ubleipzig/marctools

Various MARC command line utilities.

Stars15
Contributors1
Forks1
Watchers12
Issues0

hotei/ansiterm

go package to drive xterms (etc) with ANSI ESC Codes, golang

Stars13
Contributors1
Forks6
Watchers1
Issues0

GeertJohan/go.qrt

QR codes for terminals

Stars13
Contributors2
Forks3
Watchers1
Issues0

azer/go-style

Console styling library for Golang

Stars11
Contributors1
Forks0
Watchers0
Issues0

dynport/gocli

Golang library for CLI applications

Stars11
Contributors4
Forks3
Watchers2
Issues2

redneckbeard/quimby

Multiple commands with their own flags under the same Go executable.

Stars9
Contributors1
Forks0
Watchers0
Issues0

speedata/optionparser

Ruby (OptionParser) like command line arguments processor

Stars5
Contributors1
Forks0
Watchers1
Issues0

mediocregopher/flagconfig

A go library with similar syntax as flag for reading in parameters from either the command-line or a configuration file

Stars2
Contributors1
Forks1
Watchers2
Issues0

fredr/climux

A mux for the cli in go

Stars2
Contributors1
Forks0
Watchers1
Issues0