Flaggy Versions Save

Idiomatic Go input parsing with subcommands, positional values, and flags at any position. No required project or package layout and no external dependencies.

v1.5.2

1 year ago

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

2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/integrii/flaggy/compare/v1.5.0...v1.5.1

v1.5.0

2 years ago

Important! A build error snuck into this release. Please use v1.5.1!

What's Changed

Thank you to our new contributors! 🎉

Full Changelog: https://github.com/integrii/flaggy/compare/v1.4.4...v1.5.0

v1.4.4

4 years ago
  • Fixing URL in Unlicense LICENSE file so that pkg.go.dev properly shows documentation for flaggy (it matches the entire license file text)

v1.4.3

4 years ago
  • upping revision because modules are preventing a quick fix to the 1.4.2 branch

v1.4.2

4 years ago
  • Fix for ShowHelpOnUnexpected breaking when go test is run.

v1.4.1

4 years ago
  • fixed identification of bool flags on nested subcommands. Thanks @ethanmoffat for PR #58!

v1.4.0

4 years ago

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

4 years ago

This release contains only polish and documentation.

v1.2.2

4 years ago
  • Fixed: Default values were not showing when program displays help in certain codepaths