go-arg/v2
Alex Flint 47ff44303f drop support for help tag inside arg tag 2022-10-07 12:51:55 -07:00
..
construct.go drop support for help tag inside arg tag 2022-10-07 12:51:55 -07:00
construct_test.go move construction logic out of parse.go into construct.go 2022-10-04 11:54:22 -07:00
doc.go drop support for multiple destination structs 2022-10-04 08:56:31 -07:00
example_test.go add processSingle and make it responsible for checking whether an argument has been seen before 2022-10-04 13:12:38 -07:00
go.mod drop support for multiple destination structs 2022-10-04 08:56:31 -07:00
go.sum drop support for multiple destination structs 2022-10-04 08:56:31 -07:00
parse.go rename "accumulatedArgs" -> "accessible" 2022-10-04 13:54:53 -07:00
parse_test.go add TestSliceWithEqualsSign 2022-10-04 13:25:01 -07:00
precedence_test.go add tests for new Process* and OverwriteWith* functions 2022-10-04 13:51:51 -07:00
reflect.go drop support for multiple destination structs 2022-10-04 08:56:31 -07:00
reflect_test.go drop support for multiple destination structs 2022-10-04 08:56:31 -07:00
sequence.go add appendToSlice, appendToMap, appendToSliceOrMap 2022-10-04 12:48:04 -07:00
sequence_test.go add appendToSlice, appendToMap, appendToSliceOrMap 2022-10-04 12:48:04 -07:00
subcommand.go split the parsing logic into ProcessEnvironment, ProcessCommandLine, ProcessOptions, ProcessPositions, ProcessDefaults 2022-10-04 11:00:42 -07:00
subcommand_test.go cleaned up the test helpers parse, pparse, and parseWithEnv: now all are just using "parse" 2022-10-04 11:39:58 -07:00
usage.go split the parsing logic into ProcessEnvironment, ProcessCommandLine, ProcessOptions, ProcessPositions, ProcessDefaults 2022-10-04 11:00:42 -07:00
usage_test.go changed NewParser to take options at the end rather than config at the front 2022-10-04 11:28:34 -07:00