golang - CLI 툴을 만들 때 편리한 패키지
커맨드 라인 옵션 파서
cli.go
A small package for building command line apps in Go
https://github.com/codegangsta/cli
Cobra
A Commander for modern Go CLI interactions
https://github.com/spf13/cobra
gcli
The easy way to build Golang command-line application. https://github.com/tcnksm/gcli
Go CLI Library
A Go library for implementing command-line interfaces.
https://github.com/mitchellh/cli
go-flags
go command line option parser
https://github.com/jessevdk/go-flags
Kingpin
A Go (golang) command line and flag parser
https://github.com/alecthomas/kingpin
mow.cli
A versatile library for building command line applications in Go
https://github.com/jawher/mow.cli
goptions
A flexible parser for command line options
https://github.com/voxelbrain/goptions
프로그래스바, 진척 표시
pb
Console progress bar for Golang
https://github.com/cheggaaa/pb
ioprogress
Go (golang) package for progress bars around io.Reader/Writers.
https://github.com/mitchellh/ioprogress
Spinner
Go (golang) package for providing a terminal spinner/progress indicator with options.
https://github.com/briandowns/spinner
go-spin
Terminal spinner package for Golang
https://github.com/tj/go-spin
MultiBar
Display multiple progress bars in Go (golang).
https://github.com/sethgrid/multibar
문자나 배경 색을 채우기
color
Colorize your terminal strings.
https://github.com/aybabtme/color
Color
Color package for Go (golang)
https://github.com/fatih/color
colorstring
Go (golang) library for colorizing strings for terminal output.
https://github.com/mitchellh/colorstring
chalk
Intuitive package for prettifying terminal/console output.
https://github.com/ttacon/chalk
go-colorable
Colorable writer for windows.
https://github.com/mattn/go-colorable
ASCII 테이블 출력
go-clitable
Command line (ASCII) table for Golang
https://github.com/crackcomm/go-clitable
ASCII Table Writer
ASCII table in golang
https://github.com/olekukonko/tablewriter
입력
Interact
A Golang utility belt for interacting with the user over a CLI
https://github.com/deiwin/interact
Prompt
Cross platform prompting library
https://github.com/Bowery/prompt
이모지
Emoji
emoji terminal output for golang
https://github.com/kyokomi/emoji
터미널 판정
go-isatty
isatty for golang
https://github.com/mattn/go-isatty
이 글은 2019-04-28에 작성되었습니다.