18 Resources
Golang flag Libraries
mango is a man-page generator for the Go flag, pflag, and cobra packages
mango mango is a man-page generator for the Go flag, pflag, and cobra packages. It extracts commands, flags, and arguments from your program and enabl
learn go build --tags and ldflags
Learn tags and ldflags for go build go build -tags debug -ldflags "-X main.version=`autotag current`" -o normal ./normal output is: running version is
A full-featured and easy to use command-line package
go-cli go-cli is a package to build a CLI application. Support command/sub-commands. Some applications are built using go-cli including: frep mknovel
Package varflag implements command-line flag parsing into vars.Variables for easy type handling with additional flag types.
varflag Package flag implements command-line flag parsing into vars.Variables for easy type handling with additional flag types. varflag Flags String
Go binding configuration and command flag made easy✨✨
✨ Binding configuration and command flag made easy! ✨ You can use multiple keys tag to simplify the look like this (supported feature**): // single ta
A feature flag solution, with only a YAML file in the backend (S3, GitHub, HTTP, local file ...), no server to install, just add a file in a central system and refer to it. 🎛️
🎛️ go-feature-flag A feature flag solution, with YAML file in the backend (S3, GitHub, HTTP, local file ...). No server to install, just add a file i
An open-source, on-prem feature flag solution
An open-source, on-prem feature flag solution Documentation | Features | Values | Examples | Enterprise Flipt is an open source, on-prem feature flag
Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
Description pflag is a drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags. pflag is compatible with the GNU extensions to
Fully featured Go (golang) command line option parser with built-in auto-completion support.
go-getoptions Go option parser inspired on the flexibility of Perl’s GetOpt::Long. Table of Contents Quick overview Examples Simple script Program wit
Generate flags by parsing structures
Flags based on structures. The sflags package uses structs, reflection and struct field tags to allow you specify command line options. It supports di
Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
Description pflag is a drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags. pflag is compatible with the GNU extensions to
CONTRIBUTIONS ONLY: A Go (golang) command line and flag parser
CONTRIBUTIONS ONLY What does this mean? I do not have time to fix issues myself. The only way fixes or new features will be added is by people submitt
Fully featured Go (golang) command line option parser with built-in auto-completion support.
go-getoptions Go option parser inspired on the flexibility of Perl’s GetOpt::Long. Table of Contents Quick overview Examples Simple script Program wit
A collection of CLI argument types for the Go `flag` package.
flagvar A collection of CLI argument types for the flag package. import "github.com/sgreben/flagvar" Or just copy & paste what you need. It's public d
Flag is a simple but powerful command line option parsing library for Go support infinite level subcommand
Flag Flag is a simple but powerful commandline flag parsing library for Go. Documentation Documentation can be found at Godoc Supported features bool
Golang library with POSIX-compliant command-line UI (CLI) and Hierarchical-configuration. Better substitute for stdlib flag.
cmdr cmdr is a POSIX-compliant, command-line UI (CLI) library in Golang. It is a getopt-like parser of command-line options, be compatible with the ge
The standard library flag package with its missing features
cmd Package cmd is a minimalistic library that enables easy sub commands with the standard flag library. This library extends the standard library fla
Argparse for golang. Just because `flag` sucks
Golang argparse Let's be honest -- Go's standard command line arguments parser flag terribly sucks. It cannot come anywhere close to the Python's argp