2022-06-06 19:06:50 -04:00
2022-07-16 10:22:47 -04:00
2022-07-16 10:22:47 -04:00

argh command line parser

background

The Go standard library flag way of doing things has long been a source of frustration while implementing and maintaining the urfave/cli library. Many alternate parsers exist, including:

In addition to these other implementations, I also got some help via this oldie and the Go standard library parser.

goals

  • get a better understanding of the whole problem space
  • support both POSIX-y and Windows-y styles
  • build a printable/JSON-able parse tree
  • support rich error reporting
  • support event-like reactive parsing
Description
Command line parsing mess
Readme 148 KiB
Languages
Go 99.5%
Makefile 0.5%