summaryrefslogtreecommitdiff
path: root/README.md
AgeCommit message (Collapse)Author
2019-10-21add docs about old way of specifying defaultsAlex Flint
2019-10-21update documentation to new way of specifying defaultsAlex Flint
2019-08-06add subcommands to readmeAlex Flint
2019-04-14Merge pull request #78 from alexflint/readme-spellingAlex Flint
minor fixes to readme
2019-04-14more tweaksAlex Flint
2019-04-14minor fixes to readmeAlex Flint
2019-04-04update link for golangci badgeAlex Flint
2019-04-04add golangci badge, and fix some lint issues found by the toolAlex Flint
2018-11-20README: update TextUnmarshaler examplePavel 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-01Change format from JSON to CSVIllia Volochii
2018-04-26Fix providing multiple values via environment variablesIllia Volochii
2018-04-16fixed example comment, test coverage issueWlazlo, Matt
2018-04-13Custom parsers implementing encoding.TextMarshaler() can have default values ↵Wlazlo, Matt
printed via --help
2017-10-02Further clarificationRick
2017-10-02Altered help tag parsing to reduce the constraints on help text content; old ↵Rick
behaviour is retained for backward compatibility
2017-03-09Merge branch 'master' into masterK3A
2017-03-08readme updateMario Hros
2017-03-04Adding separate tag optionKenneth 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-23add support for description stringEmmanouil "Manolis" Maragkakis
2016-10-10add not on embedding to readmeAlex Flint
2016-09-08add to readmeAlex Flint
2016-07-31add goreportcard to readme.mdAlex Flint
2016-01-23move installation instructions to topAlex Flint
2016-01-23update readme with new additionsAlex Flint
2016-01-18Add support for environment variablesbrettlangdon
2016-01-05fix example codeAlex Flint
2016-01-05add custom validation example to READMEAlex Flint
2015-11-04add coveralls badgeAlex Flint
2015-11-03fix note on boolean flags in readmeAlex Flint
2015-11-01separate help into WriteUsage and WriteHelpAlex Flint
2015-11-01add travis badgeAlex Flint
2015-11-01added runnable examplesAlex Flint
2015-10-31udpate readmeAlex Flint
2015-10-31udpate readmeAlex Flint
2015-10-31udpate readmeAlex Flint
2015-10-31udpate readmeAlex Flint
2015-10-31udpate readmeAlex Flint
2015-10-31udpate readmeAlex Flint
2015-10-31udpate readmeAlex Flint
2015-10-31udpate readmeAlex Flint
2015-10-31add READMEAlex Flint