Releases: integrii/flaggy
Releases · integrii/flaggy
v1.5.2
If you would like to use a variable number of arguments at the end of your program without the user specifying --
before the list, you can do this by setting flaggy.ShowHelpOnUnexpectedDisable()
and then parsing the []string
at flaggy.TrailingArguments
. For more details, see Issue #79
- new trailingArguments example
- new tests for trailing arguments with positionals. fixed trailing arguments being incorrectly considered as positionals
v1.5.1
v1.5.0
Important! A build error snuck into this release. Please use v1.5.1!
What's Changed
- Add new
TrailingSubcommand()
method to find the last subcommand used by parsers @mattwiller in #75 - cosmetic: simplify Parser by @marco-m in #70
- blackbox test: actually assert something by @marco-m in #73
- Add useful info to AddPositionalValue panic. by @groutr in #77
- Linter fixes by @marco-m in #71
Thank you to our new contributors! 🎉
- @marco-m made their first contribution in #70
- @groutr made their first contribution in #77
- @mattwiller made their first contribution in #75
Full Changelog: v1.4.4...v1.5.0
v1.4.4
v1.4.3
v1.4.2
v1.4.1
v1.4.0
Thanks to @ravenpride for his help with this one.
flaggy.DefaultParser.ShowHelpOnUnexpected()
now properly throws an error when unexpected arguments are passed from the command line
v1.3.0
This release contains only polish and documentation.
- Custom template example - Thanks @udondan
- Improved help output formatting - Thanks again @udondan