| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-09-07 | Add global env prefix example to README | Hugo Hromic | |
| * Also made newline separations around sections consistent * Also fixed usage of `p.Parse()` in env variable ignore example | |||
| 2024-09-05 | update api docs for Parser.Parse | Alex Flint | |
| 2024-09-04 | add info to README about programmatically reproducing behavior of MustParse | Alex Flint | |
| 2024-06-30 | Merge pull request #224 from hhromic/better-version-v2 | Alex Flint | |
| Fix usage writing when using custom version flag | |||
| 2024-06-30 | Merge pull request #233 from testwill/typo | Alex Flint | |
| fix: typo | |||
| 2024-06-30 | Add note for version flag overriding to README | Hugo Hromic | |
| 2024-02-28 | add an example for environment vars with arg names | James Shubin | |
| If you want to specify both of these, and if they should have different names, then this shows you how it can be done. | |||
| 2023-11-15 | fix: typo | guoguangwu | |
| Signed-off-by: guoguangwu <[email protected]> | |||
| 2022-09-17 | Feat: Add epilog after help text | Sebastiaan Pasterkamp | |
| Similar to the Description at the top of the help text an Epilog is added at the bottom. Resolves #189 | |||
| 2022-01-02 | Add 'IgnoreDefault' option | Sebastiaan Pasterkamp | |
| 2021-09-18 | Update README.md | Alex Flint | |
| 2021-09-18 | Update README.md | evgenv123 | |
| 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-20 | bump go-scalar to v1.1 and add documentation about supported types | Alex Flint | |
| 2021-04-19 | add an example of parsing into a map to the readme | Alex Flint | |
| 2020-12-20 | Updated readme | Andrew Morozko | |
| 2020-08-06 | add documentation and examples showing how to override the short and long ↵ | Alex Flint | |
| option names together | |||
| 2020-04-17 | replace coveralls badge with codecov | Alex Flint | |
| 2020-04-17 | add banner image | Alex Flint | |
| 2020-04-17 | drop golangci since it is shutting down soon; fix pkg.go.dev link | Alex Flint | |
| 2020-04-17 | use go.dev badge | Alex Flint | |
| 2020-04-17 | drop blank lines | Alex Flint | |
| 2020-04-17 | move some stuff around in the readme header; add sourcegraph | Alex Flint | |
| 2020-04-03 | put coverage badge back | Alex Flint | |
| 2020-04-03 | replace travis badge with github actions badge | Alex Flint | |
| 2020-04-03 | drop coverage badge (adding an issue to put it back) | Alex Flint | |
| 2020-02-23 | Document that the placeholder tag requires v1.3.0 | Alex Flint | |
| 2020-01-23 | README: how to terminate a program when no subcommands are specified | Marco Molteni | |
| Fixes #103 | |||
| 2019-11-30 | Final improvements | Andrew Morozko | |
| 2019-11-30 | Various changes | Andrew Morozko | |
| 2019-10-21 | add docs about old way of specifying defaults | Alex Flint | |
| 2019-10-21 | update documentation to new way of specifying defaults | Alex Flint | |
| 2019-08-06 | add subcommands to readme | Alex Flint | |
| 2019-04-14 | Merge pull request #78 from alexflint/readme-spelling | Alex Flint | |
| minor fixes to readme | |||
| 2019-04-14 | more tweaks | Alex Flint | |
| 2019-04-14 | minor fixes to readme | Alex Flint | |
| 2019-04-04 | update link for golangci badge | Alex Flint | |
| 2019-04-04 | add golangci badge, and fix some lint issues found by the tool | Alex Flint | |
| 2018-11-20 | README: update TextUnmarshaler example | Pavel Borzenkov | |
| Values are much more convenient to use in argument structs, so update README to use them instead of pointers in the example as we now support this. Signed-off-by: Pavel Borzenkov <[email protected]> | |||
| 2018-05-01 | Change format from JSON to CSV | Illia Volochii | |
| 2018-04-26 | Fix providing multiple values via environment variables | Illia Volochii | |
| 2018-04-16 | fixed example comment, test coverage issue | Wlazlo, Matt | |
| 2018-04-13 | Custom parsers implementing encoding.TextMarshaler() can have default values ↵ | Wlazlo, Matt | |
| printed via --help | |||
| 2017-10-02 | Further clarification | Rick | |
| 2017-10-02 | Altered help tag parsing to reduce the constraints on help text content; old ↵ | Rick | |
| behaviour is retained for backward compatibility | |||
| 2017-03-09 | Merge branch 'master' into master | K3A | |
| 2017-03-08 | readme update | Mario Hros | |
| 2017-03-04 | Adding separate tag option | Kenneth Shaw | |
| As outlined in #49, there is a need to mimic the behavior of other applications by interweaving positional and non-positional parameters. This change adds the 'separate' option that will force a arg of type []string to only read the next supplied value. For example, when dealing with the following arg type: var MyArgs struct { Pos []string `arg:"positional"` Separate []string `arg:"-s,separate"` } This commit will parse the following command line: ./app pos1 pos2 -s=separate1 -s=separate2 pos3 -s=separate3 pos4 Such that MyArgs.Pos will be [pos1 pos2 pos3 pos4] and MyArgs.Separate will be [separate1 separate2 separate3]. Unit tests for the above have also been written and are included in this commit, as well as the addition of a section to README.md and an example func in example_test.go. Fixes #49 | |||
| 2017-01-23 | add support for description string | Emmanouil "Manolis" Maragkakis | |
| 2016-10-10 | add not on embedding to readme | Alex Flint | |
| 2016-09-08 | add to readme | Alex Flint | |
