summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-29add further comment about backwards-compatible method for setting default valuesAlex Flint
2022-10-29drop unnecessary testAlex Flint
2022-10-29remove unused textMarshalerType and isTextMarshalerAlex Flint
2022-10-29add test for the new default value parsing logic as it shows up in help messagesAlex Flint
2022-10-29store both a default value and a string representation of that default value ↵Alex Flint
in the spec for each option
2022-10-29drop unnecessary use of templates in this testAlex Flint
2022-10-10Merge pull request #198 from daenney/mustparseAlex Flint
Implement MustParse on Parser
2022-10-10Implement MustParse on ParseDaniele Sluijters
This moves most of the body of the MustParse function into a MustParse method on a Parser. The MustParse function is now implemented by calling the MustParse function on the Parser it implicitly creates. Closes: #194
2022-10-02Merge pull request #196 from alexflint/bump_go_versionsAlex Flint
Update to latest version of Go in CI
2022-10-02update to latest 3 versions of Go for CIAlex Flint
2022-10-02Merge pull request #195 from alexflint/bump_scalar_depAlex Flint
Update to latest go-scalar
2022-10-02update to latest go-scalar, add test for hex, oct, and binary integer literalsAlex Flint
2022-09-27Merge pull request #191 from SebastiaanPasterkamp/add-epilog-to-helpAlex Flint
Feat: Add epilogue after help text
2022-09-17Feat: Add epilog after help textSebastiaan Pasterkamp
Similar to the Description at the top of the help text an Epilog is added at the bottom. Resolves #189
2022-06-11Merge pull request #172 from SebastiaanPasterkamp/ignore-default-optionAlex Flint
Add 'IgnoreDefault' option
2022-06-09fix issue #184Alex Flint
2022-06-05Simplify sub-command initialization w/o IgnoreDefaultSebastiaan Pasterkamp
2022-02-09Merge pull request #175 from alexflint/bracketing-positionalsv1.4.3Alex Flint
Fix bracketing for non-required positionals in usage
2022-02-09fix bracketing for non-required positionalsAlex Flint
2022-01-05Merge pull request #173 from GreyXor/masterAlex Flint
Update testify dependency to 1.7.0
2022-01-05Update go.sumGreyXor
2022-01-05Update testify dependency to 1.7.0GreyXor
2022-01-02Add 'IgnoreDefault' optionSebastiaan Pasterkamp
2021-10-01Merge pull request #166 from alexflint/env-in-errorAlex Flint
Put name of environment variable in error message
2021-10-01put name of environment variable in error messageAlex Flint
2021-09-18Merge pull request #156 from alexflint/usage-for-subcommandsAlex Flint
add FailSubcommand, WriteUsageForSubcommand, WriteHelpForSubcommand
2021-09-18Merge remote-tracking branch 'origin/master' into usage-for-subcommandsAlex Flint
2021-09-18Merge pull request #164 from evgenv123/evgenv123-patch-1Alex Flint
Update README.md
2021-09-18Update README.mdAlex Flint
2021-09-18Update README.mdevgenv123
Hi! As a first-time user of your great package I got a little bit confused on using command line args and env vars together, so it took me some time to make testing and I propose to save this time for other people by adding relevant edits to README.md
2021-08-20Merge pull request #162 from alexflint/support-for-urlsAlex Flint
Add support for URLs
2021-08-20bump go-scalar to v1.1 and add documentation about supported typesAlex Flint
2021-05-24Merge pull request #158 from alexflint/unexported-embeddedv1.4.2Alex Flint
Recurse into unexported embedded structs
2021-05-24recurse into unexported embedded structsAlex Flint
2021-05-09simplify the error string logicAlex Flint
2021-05-09add FailSubcommand, WriteUsageForSubcommand, WriteHelpForSubcommandAlex Flint
2021-04-20Merge pull request #153 from alexflint/test-empty-mapv1.4.1Alex Flint
Fix case where an empty environment variable is parsed in a slice or map
2021-04-20fix case where an environment variable containing an empty string is parsed ↵Alex Flint
into a slice or map
2021-04-20Merge pull request #152 from alexflint/mappings-with-commasv1.4.0Alex Flint
Add an example of mappings with commas
2021-04-20fix the mappings-with-commas exampleAlex Flint
2021-04-20Merge pull request #151 from alexflint/fix-lintAlex Flint
Fix lint issue in reflect.go
2021-04-20fix lint issueAlex Flint
2021-04-19updated the example for mappings with commasAlex Flint
2021-04-19Merge pull request #150 from alexflint/push-coverage-up-moreAlex Flint
Push test coverage up to 100%
2021-04-19clean up environment variable testsAlex Flint
2021-04-19test coverage 100% !!Alex Flint
2021-04-19Merge pull request #149 from alexflint/parse-into-mapAlex Flint
Add support for parsing into a map
2021-04-19push coverage up even moreAlex Flint
2021-04-19more test coverageAlex Flint
2021-04-19add an runnable example for mappingsAlex Flint