Hey friends, here is the latest go-arg. What fun. I enjoy maintaining this library a lot. Lots of contributions from new contributors since last release -- check out new contributors section below. Very impressive work everyone.
I'm working on completions support for this library. It's going to be a separate library, in a separate repository, that will (if all goes according to plan) be a general-purpose cross-language cross-shell completion-support binary. I'll then add some options in this library to make use of that project, probably mostly in the form of documentation and examples rather than any significant changes to default behavior. If you'd like to give input on any of that, please reach out via email (see email address in my github profile).
As always, sorry for all the open issues and un-merged PRs!
What's Changed
- Use standard exit status code for usage errors by @hhromic in #256
- Fix usage when using custom version flag by @hhromic in #224
- Move program version from usage to help by @hhromic in #259
- Fix help text for positional args with default and env var by @hhromic in #262
- Allow passing the string "--" twice or more by @alexflint in #273
- Add support for setting a global env var prefix by @hhromic in #258
- Make field name output consistent when using placeholders by @zanvd in #276
- Fix Missing Global Options by @Areson in #278
- Improve handling of negative numbers by @alexflint in #285
New Contributors
- @purpleidea made their first contribution in #237
- @testwill made their first contribution in #233
- @zanvd made their first contribution in #276
- @Areson made their first contribution in #278
Full Changelog: v1.6.0...v1.5.2