PackageTrack
Sign in Get early access

github.com/integrii/flaggy

v1.8.0 #2334 most downloaded on Go modules integrii/flaggy

What this package is like to depend on

Last release 10 months ago

04 Oct 2025

Ships unpredictably

gaps range from 2 weeks to 3.3 years

Some releases are documented

notes for 8 of 14 stable releases

1 version withdrawn

withdrawn after publishing

8 years old

34 releases · first in 2018

9 releases in the last 12 months

see the full history below

Release timeline

34 releases · Jul 2018 to Oct 2025
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 34
  1. v1.8.0 04 Oct 2025
    Release notes

    What's Changed

    • Add fish, PowerShell, and Nushell completion support by @integrii in #102

    Full Changelog: v1.7.1...v1.8.0

    Open source →
  2. v1.7.2-0.20250921015420-fd0925f3c950 21 Sep 2025 pre-release

    Nothing published for this version

  3. v1.7.2-0.20250920081355-9147df756f52 20 Sep 2025 pre-release

    Nothing published for this version

  4. v1.7.1 20 Sep 2025
    Release notes
    • Implemented a fix for a rare condition wherein a positional value overlaps a subcommand with the same name.
    Open source →
  5. v1.7.0 20 Sep 2025
    Release notes

    This is a follow up v1.7.0 release after rapid re-release of v1.6.0 tag caused go module caching error. This release addresses nearly all known issues and proposed feature additions of Flaggy while retaining a no-dependency policy.

    • Update module to Go 1.25
    • Streamline argument delegation between parsers
    • Clarify benchmark intent and document agent workflow
    • Fixes #68 - Subcommands and globals are displayed in different help sections on subcommands
    • Refactored help output logic
    • Fixes #96 - Empty flag causes missing input error
    • Added Fixes #74 improved alignment on help output
    • Add benchmark tests
    • New gopher logo on README.md
    • Fixes #98 - add CONTRIBUTING.md
    Open source →
  6. v1.6.1-0.20250920063835-a7476ad7fee8 20 Sep 2025 pre-release

    Nothing published for this version

  7. v1.6.1-0.20250920054708-3cb625e8e57c 20 Sep 2025 pre-release

    Nothing published for this version

  8. v1.6.1-0.20250920012711-991d3e8c4e12 20 Sep 2025 pre-release

    Nothing published for this version

  9. v1.6.0 16 Sep 2025 withdrawn

    Version retracted: Release version was used twice, causing go proxy errors.

    Release notes

    🎉 First release since May 2022 thanks to AI! 🎉

    Disruptive Changes:

    • Slice flags no longer automatically parse slice values with commas into multiple values. To specify multiple values, use the flag multiple times. For example, this will produce one value: ./app -f one,two,three and ./ -f one -f two -f three will produce three values in the slice. #90

    New Features:

    • Adds built-in bash and zsh completion generators. Use completion zsh or completion bash on your app. This is on my default. To disable, use flaggy.DisableCompletion(). #1
    • Flags can now be sorted alphabetically or reverse alphabetically using SortFlagsByLongName() and SortFlagsByLongNameReversed() #69
    • Added a Github Action for test validation
    • Added support for all types in the go standard library!
      • []net.IPMask
      • time.Time
      • url.URL
      • net.IPNet
      • net.TCPAddr
      • net.UDPAddr
      • os.FileMode
      • regexp.Regexp
      • time.Location
      • time.Month
      • time.Weekday
      • big.Int
      • big.Rat
      • netip.Addr
      • netip.Prefix
      • netip.AddrPort
      • Base64Bytes ([]byte)

    Fixes

    • Fixed #84 - Unknown arguments supplied when the flag and subcommand have the same value name

    Full Changelog: v1.5.2...v1.6.0

    Open source →
  10. v1.5.2 28 May 2022
    Release notes

    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
    Open source →
  11. v1.5.2-0.20220528052909-7f802351f0f4 28 May 2022 pre-release

    Nothing published for this version

  12. v1.5.2-0.20220517032219-f98079ec1746 17 May 2022 pre-release

    Nothing published for this version

  13. v1.5.1 25 Apr 2022
    Release notes

    What's Changed

    New Contributors

    • @ohzqq made their first contribution in #78

    Full Changelog: v1.5.0...v1.5.1

    Open source →
  14. v1.5.0 23 Apr 2022
    Release notes

    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! 🎉

    Full Changelog: v1.4.4...v1.5.0

    Open source →
  15. v1.4.5-0.20220423022127-1ae79a1c2924 23 Apr 2022 pre-release

    Nothing published for this version

  16. v1.4.5-0.20210708153147-5f3540f9b409 08 Jul 2021 pre-release

    Nothing published for this version

  17. v1.4.5-0.20200715150314-32dc17aac6fc 15 Jul 2020 pre-release

    Nothing published for this version

  18. v1.4.5-0.20200218045200-90718ce62b2a 18 Feb 2020 pre-release

    Nothing published for this version

  19. v1.4.4 17 Feb 2020
    Release notes
    • Fixing URL in Unlicense LICENSE file so that pkg.go.dev properly shows documentation for flaggy (it matches the entire license file text)
    Open source →
  20. v1.4.3 18 Jan 2020
    Release notes
    • upping revision because modules are preventing a quick fix to the 1.4.2 branch
    Open source →
  21. v1.4.1 14 Jan 2020

    Nothing published for this version

  22. v1.4.0 15 Nov 2019

    Nothing published for this version

  23. v1.3.0 28 Oct 2019

    Nothing published for this version

  24. v1.2.2 21 Aug 2019

    Nothing published for this version

  25. v1.2.1 21 Aug 2019

    Nothing published for this version

  26. v1.2.1-0.20190517180110-07ea7eb77404 17 May 2019 pre-release

    Nothing published for this version

  27. v1.2.0 20 Feb 2019

    Nothing published for this version

  28. v0.0.0-20191005164410-9f1f753d8f33 05 Oct 2019 pre-release

    Nothing published for this version

  29. v0.0.0-20190517180110-07ea7eb77404 17 May 2019 pre-release

    Nothing published for this version

  30. v0.0.0-20190220052119-eb3cf98db853 20 Feb 2019 pre-release

    Nothing published for this version

  31. v0.0.0-20190217075710-8eff31c09bf2 17 Feb 2019 pre-release

    Nothing published for this version

  32. v0.0.0-20181007032133-1056ce330646 07 Oct 2018 pre-release

    Nothing published for this version

  33. v0.0.0-20180727030457-227d37e9bf81 27 Jul 2018 pre-release

    Nothing published for this version

  34. v0.0.0-20180713025924-edaf7a3804f8 13 Jul 2018 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive