| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-12-27 | Merge pull request #70 from alexflint/create-go-modv1.0.0 | Alex Flint | |
| Migrate from Godep to go.mod | |||
| 2018-11-20 | use go modules in travis | Alex Flint | |
| 2018-11-20 | go mod vendor | Alex Flint | |
| 2018-11-20 | create go.mod, go.sum | Alex Flint | |
| 2018-11-20 | drop godeps | Alex Flint | |
| 2018-11-20 | Merge pull request #69 from pborzenkov/update-go-scalar | Alex Flint | |
| Update go scalar to the latest version | |||
| 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-11-20 | parse_test: add tests covering new TextUnamarshaler value support | Pavel Borzenkov | |
| Signed-off-by: Pavel Borzenkov <[email protected]> | |||
| 2018-11-20 | parse_test: fix formatting | Pavel Borzenkov | |
| Signed-off-by: Pavel Borzenkov <[email protected]> | |||
| 2018-11-20 | vendor: update go-scalar to the latest version | Pavel Borzenkov | |
| Allows to use values (not pointer) with custom TextUnmarshaler. Signed-off-by: Pavel Borzenkov <[email protected]> | |||
| 2018-05-16 | Merge pull request #65 from illia-v/env_multiple_values | Alex Flint | |
| Fix providing multiple values via environment variables | |||
| 2018-05-14 | Fix the problem with errors | Illia Volochii | |
| 2018-05-01 | Change format from JSON to CSV | Illia Volochii | |
| 2018-04-26 | Add one more test | Illia Volochii | |
| 2018-04-26 | Fix providing multiple values via environment variables | Illia Volochii | |
| 2018-04-20 | Merge pull request #64 from alexflint/repeated-unmarshaltext | Alex Flint | |
| Fix repeated arguments implementing TextUnmarshaler | |||
| 2018-04-18 | add positional test | Alex Flint | |
| 2018-04-18 | fix repeated text unmarshal bug | Alex Flint | |
| 2018-04-18 | separate scalar.CanParse from isBoolean | Alex Flint | |
| 2018-04-18 | drop setScalar | Alex Flint | |
| 2018-04-15 | Merge pull request #62 from mwlazlo-tls/master | Alex Flint | |
| Custom parsers implementing encoding.TextMarshaler() can have default… | |||
| 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 | |||
| 2018-02-05 | Merge pull request #61 from alexflint/negative-values | Alex Flint | |
| handle negative values | |||
| 2018-01-13 | handle negative values | Alex Flint | |
| 2017-10-02 | Merge pull request #59 from rickb777/master | Alex Flint | |
| Altered help tag parsing to allow comma and colon | |||
| 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-09-27 | Merge pull request #57 from rickb777/master | Alex Flint | |
| Allow spaces after each comma in tags | |||
| 2017-09-16 | Allow spaces after each comma in tags | Rick | |
| 2017-03-30 | Merge pull request #54 from k3a/master | Alex Flint | |
| Required multiple positionals | |||
| 2017-03-30 | tests | Mario Hros | |
| 2017-03-30 | required positional args | Mario Hros | |
| 2017-03-09 | Merge pull request #53 from k3a/master | Alex Flint | |
| Make usage output nicer | |||
| 2017-03-09 | Merge branch 'master' into master | K3A | |
| 2017-03-08 | Merge pull request #50 from kenshaw/add-single-notrunc-opts | Alex Flint | |
| Adding single and notrunc tag options | |||
| 2017-03-08 | readme update | Mario Hros | |
| 2017-03-08 | nicer usage output | 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-02-22 | Merge pull request #48 from alexflint/parse_hyphen | Alex Flint | |
| deal with "-" as option value | |||
| 2017-02-21 | deal with "-" as option value | Alex Flint | |
| 2017-02-17 | Merge pull request #46 from alexflint/vendoring | Alex Flint | |
| vendor in dependencies | |||
| 2017-02-15 | deal with booleans correctly | Alex Flint | |
| 2017-02-15 | put comment back | Alex Flint | |
| 2017-02-15 | use go-scalar, vendoring | Alex Flint | |
| 2017-02-09 | Merge pull request #45 from alexflint/empty_args | Alex Flint | |
| Do not crash when os.Args is empty | |||
| 2017-02-09 | fix case where os.Args is empty | Alex Flint | |
| 2017-02-09 | Merge pull request #43 from mnsmar/master | Alex Flint | |
| print description in help message, not in usage | |||
| 2017-02-08 | print description in help message, not in usage | Emmanouil "Manolis" Maragkakis | |
| 2017-01-24 | Merge pull request #41 from mnsmar/master | Alex Flint | |
| add support for description string | |||
