~smithbm2316/pflags

a minimal command line flag parser that aims to implement a POSIX getopt-like interface for the Go programming language
fix: boolean flag cases 0/1 were flipped
refactors tests to use `t.Run` where appropriate
adds `run` script for common tasks

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~smithbm2316/pflags
read/write
git@git.sr.ht:~smithbm2316/pflags

You can also use your local clone with git send-email.

#pflags

#:construction: PACKAGE STILL IN DEVELOPMENT, HERE BE DRAGONS! :construction:

a minimal command line flag parser that aimsto implement a POSIX getopt-like interface for the Go programming language. Go's standard library flag package deviates from this and other similar standards (such as getopts) in favor of a parsing pattern that was an intentional deviation from the POSIX-style parsing by the Go team. This package aims to provide an extremely minimal, dependency-free flag parsing implementation that can replace the flag package in the standard library for those who wish to parse command line flags with a more traditional POSIX-style compliance that most engineers would be accustomed to when using command-line applications.