You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
7 months ago | |
---|---|---|
cmd/argh-example | 7 months ago | |
.gitignore | 1 year ago | |
Makefile | 7 months ago | |
README.md | 7 months ago | |
argh.go | 7 months ago | |
argh_test.go | 7 months ago | |
ast.go | 7 months ago | |
go.mod | 11 months ago | |
go.sum | 11 months ago | |
node.go | 7 months ago | |
nvalue_string.go | 1 year ago | |
parser.go | 7 months ago | |
parser_config.go | 7 months ago | |
parser_error.go | 1 year ago | |
parser_test.go | 7 months ago | |
scanner.go | 1 year ago | |
scanner_config.go | 1 year ago | |
scanner_test.go | 11 months ago | |
token.go | 1 year ago | |
token_string.go | 1 year ago |
README.md
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