summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-07-06move empty tag check inside the loopAlex Flint
2020-06-03Merge pull request #116 from denysvitali/masterAlex Flint
feat(usage): Include env variable in usage
2020-06-03feat(usage): Include env variable in usageDenys Vitali
2020-04-17Merge pull request #114 from alexflint/migrate-to-codecovAlex Flint
Upload coverage to codecov
2020-04-17replace coveralls badge with codecovAlex Flint
2020-04-17fix github actions configAlex Flint
2020-04-17upload to codecovAlex Flint
2020-04-17Merge pull request #113 from alexflint/prettify-readme-headerAlex Flint
move some stuff around in the readme header; add sourcegraph badge
2020-04-17add banner imageAlex Flint
2020-04-17drop golangci since it is shutting down soon; fix pkg.go.dev linkAlex Flint
2020-04-17use go.dev badgeAlex Flint
2020-04-17drop blank linesAlex Flint
2020-04-17move some stuff around in the readme header; add sourcegraphAlex Flint
2020-04-03Merge pull request #110 from alexflint/github-actionsAlex Flint
Set up CI using github actions
2020-04-03put coverage badge backAlex Flint
2020-04-03replace travis badge with github actions badgeAlex Flint
2020-04-03use ${{ matrix.go }}Alex Flint
2020-04-03fix name of dependencyAlex Flint
2020-04-03add coverage using goverallsAlex Flint
2020-04-03drop coverage badge (adding an issue to put it back)Alex Flint
2020-04-03drop travis and old test dir (module system support is now stable)Alex Flint
2020-04-03clean up extraneous test outputAlex Flint
2020-04-03Set up CI using github actionsAlex Flint
2020-03-01Merge pull request #109 from alexflint/ignore-envAlex Flint
Option to ignore environment variables
2020-03-01add Config.IgnoreEnv to ignore environment variablesAlex Flint
2020-02-23Merge pull request #106 from dallbee/subcommand-usageAlex Flint
Subcommand usage options
2020-02-23Merge pull request #108 from alexflint/readme-placeholder-versionAlex Flint
Document that the placeholder tag requires v1.3.0
2020-02-23Document that the placeholder tag requires v1.3.0Alex Flint
2020-01-25Fix lint warningsDylan Allbee
2020-01-25Use command passed into p.Parse(...) write methodsDylan Allbee
It is currently impossible to programatically write help and usage messages for subcommands, due to parser.WriteHelp and parser.WriteUsage not taking the state of the parser into account. Check for the existence of p.lastCmd and use it for the writers when available. Enables ability to write unit tests for subcommand help.
2020-01-25Print global options in help for subcommandsDylan Allbee
fixes #101
2020-01-24Merge pull request #107 from alexflint/fix-issue-100v1.3.0Alex Flint
fix issue with duplicate fields in embedded structs
2020-01-24add a further testAlex 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-23Merge pull request #105 from marco-m/document-subcommand-fail-earlyAlex Flint
README: how to terminate a program when no subcommands are specified
2020-01-23Merge pull request #104 from marco-m/subcommands-usage-simpleAlex Flint
Subcommands usage simple
2020-01-23README: how to terminate a program when no subcommands are specifiedMarco Molteni
Fixes #103
2020-01-23address review commentsMarco Molteni
2020-01-19usage: if the program supports subcommands, mention itMarco Molteni
2020-01-19parse: fix typo in commentMarco Molteni
2019-12-01Merge pull request #96 from Andrew-Morozko/masterAlex Flint
Added the "placeholder" tag
2019-11-30Final improvementsAndrew Morozko
2019-11-30Removed "dataname" tagAndrew Morozko
2019-11-30Various changesAndrew Morozko
2019-11-29Added the "dataname" tagAndrew Morozko
2019-10-21Merge pull request #91 from alexflint/defaultsv1.2.0Alex Flint
Allow default values in struct tags
2019-10-21add docs about old way of specifying defaultsAlex Flint
2019-10-21update documentation to new way of specifying defaultsAlex Flint
2019-10-21stop testing with tip on travisAlex Flint