summaryrefslogtreecommitdiff
path: root/parse.go
AgeCommit message (Expand)Author
2024-03-31restore 100% code coverageAlex Flint
2023-07-14Improve handling of version flagHugo Hromic
2023-06-29Remove usage of additional envOnly struct variableIlja Neumann
2023-06-03help,usage and error messages and testsIlja Neumann
2023-06-03Parse env-only varsIlja Neumann
2023-06-03fixed testsPablo Diaz
2023-06-03added tests and fixed usagePablo Diaz
2023-06-03ignores short and long parametersPablo Diaz
2023-02-08clean up customizable stdout, stderr, and exit in parser configAlex Flint
2023-02-08feat: support more env than terminalduxinlong
2023-01-18fix typoAlexey Trofimov
2023-01-18add strict subcommand parsingAlexey Trofimov
2022-10-29use reflect.Ptr not reflect.Pointer since the latter was added in Go 1.18Alex Flint
2022-10-29Merge remote-tracking branch 'origin/master' into default-value-issueAlex Flint
2022-10-29add further comment about backwards-compatible method for setting default valuesAlex Flint
2022-10-29drop unnecessary testAlex Flint
2022-10-29store both a default value and a string representation of that default value ...Alex Flint
2022-10-10Implement MustParse on ParseDaniele Sluijters
2022-09-17Feat: Add epilog after help textSebastiaan Pasterkamp
2022-06-09fix issue #184Alex Flint
2022-06-05Simplify sub-command initialization w/o IgnoreDefaultSebastiaan Pasterkamp
2022-01-02Add 'IgnoreDefault' optionSebastiaan Pasterkamp
2021-10-01put name of environment variable in error messageAlex Flint
2021-09-18Merge remote-tracking branch 'origin/master' into usage-for-subcommandsAlex Flint
2021-05-24recurse into unexported embedded structsAlex Flint
2021-05-09add FailSubcommand, WriteUsageForSubcommand, WriteHelpForSubcommandAlex Flint
2021-04-20fix case where an environment variable containing an empty string is parsed i...Alex Flint
2021-04-19test coverage 100% !!Alex Flint
2021-04-19finish adding comments to specAlex Flint
2021-04-19change "kind" to "cardinality", add support for maps to parserAlex Flint
2021-04-19refactor canParse into kindOfAlex Flint
2021-04-19factor setSlice into its own file, add setMap, and add tests for bothAlex Flint
2021-04-16fix a commentAlex Flint
2021-01-31replace "name" and "typ" by storing the original StructFieldAlex 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-07-06move empty tag check inside the loopAlex Flint
2020-03-01add Config.IgnoreEnv to ignore environment variablesAlex Flint
2020-01-24make sure to deep copy the field indicesAlex Flint
2020-01-24fix issue with duplicate fields in embedded structsAlex Flint
2020-01-19parse: fix typo in commentMarco Molteni
2019-11-30Removed "dataname" tagAndrew Morozko
2019-11-30Various changesAndrew Morozko
2019-11-29Added the "dataname" tagAndrew Morozko
2019-10-21Remove %w for compatibility with go<1.13Alex Flint
2019-10-19minor cleanupsAlex Flint
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