flaggy

Command-line parser

Provides idiomatic Go input parsing with subcommands and flags at any position.

Idiomatic Go input parsing with subcommands, positional values, and flags at any position. No required project or package layout and no external dependencies.

GitHub

859 stars
17 watching
31 forks
Language: Go
last commit: over 1 year ago
Linked from 2 awesome lists

cliflagsgolanginputsubcommands

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
cosiner/flag A command line option parsing library with support for infinite level subcommands and flexible flag definitions. 131
akamensky/argparse Provides a flexible and easy-to-use command line argument parsing solution for Go programs. 611
fortio/cli Reduces boilerplate code in Go main functions and command-line interfaces for tools and servers. 6
anacrolix/tagflag Tool for declaratively parsing command-line flags in Go using struct tags. 11
go-gcfg/gcfg A Go library that reads INI-style configuration files into data structures 168
sgreben/flagvar A collection of CLI argument types for the Go flag package. 43
txgruppi/parseargs-go A string argument parser for Go that handles quoted arguments and flags as simple strings. 10
posener/cmd Extends the standard flag package to support subcommands and other features in a minimalistic API 40
alexflint/go-arg Provides a structured approach to parsing command-line arguments in Go 2,032
alecthomas/kong A command-line parser library for Go that simplifies building complex command-line interfaces. 2,151
ugorji/go A high-performance, feature-rich Idiomatic Go 1.4+ codec/encoding library for various binary and text formats. 1,861
goodsign/icu Provides a Cgo binding to detect and convert text encoding in a Unicode-based C library 21
davidgamba/go-getoptions A command line option parser with built-in auto-completion support for Go applications. 56
lytics/confl A config parser with lenient syntax and comments similar to Nginx format. 138