summaryrefslogtreecommitdiff
path: root/parse_test.go
AgeCommit message (Expand)Author
2025-05-23improve handling of negative numbersAlex Flint
2024-11-04Merge pull request #258 from hhromic/implement-204Alex Flint
2024-10-21passing the no-more-options string "--" twice or more should pass the second ...Alex Flint
2024-09-07Add support for setting a global env var prefixHugo Hromic
2024-06-29Use standard exit status code for usage errorsHugo Hromic
2024-06-27Fix crash on errors in package-level `MustParse`Hugo Hromic
2024-04-02Merge pull request #244 from alexflint/restore-100pct-coverageAlex Flint
2024-03-31restore 100% code coverageAlex Flint
2023-10-08add subcommand aliasesAlex Flint
2023-07-14Improve handling of version flagHugo Hromic
2023-06-03help,usage and error messages and testsIlja Neumann
2023-02-08clean up customizable stdout, stderr, and exit in parser configAlex Flint
2023-01-18add strict subcommand parsingAlexey Trofimov
2022-10-29Merge remote-tracking branch 'origin/master' into default-value-issueAlex Flint
2022-10-29store both a default value and a string representation of that default value ...Alex Flint
2022-10-29drop unnecessary use of templates in this testAlex Flint
2022-10-10Implement MustParse on ParseDaniele Sluijters
2022-10-02update to latest go-scalar, add test for hex, oct, and binary integer literalsAlex Flint
2022-06-09fix issue #184Alex Flint
2022-01-02Add 'IgnoreDefault' optionSebastiaan Pasterkamp
2021-10-01put name of environment variable in error messageAlex Flint
2021-08-20bump go-scalar to v1.1 and add documentation about supported typesAlex Flint
2021-05-24recurse into unexported embedded structsAlex Flint
2021-04-20fix case where an environment variable containing an empty string is parsed i...Alex Flint
2021-04-19clean up environment variable testsAlex Flint
2021-04-19test coverage 100% !!Alex Flint
2021-04-19add unittests for maps as environment variables with the separate flagAlex Flint
2021-04-19change "kind" to "cardinality", add support for maps to parserAlex Flint
2021-04-19refactor canParse into kindOfAlex Flint
2021-01-31Merge remote-tracking branch 'origin/master' into optional-longAlex Flint
2021-01-31skip unexported fieldsAlex Flint
2020-12-20Optional long argumentsAndrew Morozko
2020-03-01add Config.IgnoreEnv to ignore environment variablesAlex Flint
2020-01-24add a further testAlex Flint
2020-01-24fix issue with duplicate fields in embedded structsAlex Flint
2019-11-30Various changesAndrew Morozko
2019-10-19store default values during NewParserAlex Flint
2019-10-08add support for default values in struct tagsAlex Flint
2019-10-04fix issue 89 (multiple args terminated by "--")Alex Flint
2019-08-06fix commentAlex Flint
2019-05-03no need to initialize nil structs during path traversalAlex Flint
2019-05-03add Parser.Subcommand and Parser.SubcommandNamesAlex Flint
2019-05-02test use of --versionAlex Flint
2019-05-02use backticks rather than backslashes in string literalAlex Flint
2019-05-02add test for case where environment var is not presentAlex Flint
2019-05-02add test case for missing value in middle of argument stringAlex Flint
2019-04-30add recursive expansion of subcommandsAlex Flint
2019-04-30check error in testAlex Flint
2019-04-14refactor validationAlex Flint
2019-04-04add golangci badge, and fix some lint issues found by the toolAlex Flint