Skip to content

Update dependency gli to v2.22.2#2

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/gli-2.x-lockfile
Open

Update dependency gli to v2.22.2#2
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/gli-2.x-lockfile

Conversation

@renovate
Copy link

@renovate renovate bot commented Apr 30, 2025

This PR contains the following updates:

Package Change Age Confidence
gli (source, changelog) 2.8.12.22.2 age confidence

Release Notes

davetron5000/gli (gli)

v2.22.2

Compare Source

v2.22.1: 2.22.1

Compare Source

v2.22.0

Compare Source

  • Improve error messaging when strict arguments are configured and too few or too many arguments are provided (see #​335 and #​334 thanks @​rsanheim!)

v2.21.5

Compare Source

Fix link to API doc to use https. See #​329 (thanks @​noraj )

v2.21.4

Compare Source

Added metadata to gemspec. See #​308 and #​328 (thanks @​noraj )

v2.21.3

Compare Source

  • Fixed #​244 where a flag that is both :required and :multiple is allowed to have no value. See #​327

v2.21.2

Compare Source

  • Fixed issue with Scaffolding
  • Upgraded dev environment and build matrix
  • Changed to Minitest instead of way old MiniTest

See #​325

v2.21.1

Compare Source

  • Drop official support for 2.x rubies and add 3.1 and 3.2 to the build matrix
  • Fix typo in rake task (See #​318 / thanks @​mattbrictson!)
  • Remove use of File.exists? which was removed from Ruby 3.2 (See #​316 / thanks @​mattbrictson!)

v2.21.0

Compare Source

v2.20.1

Compare Source

  • Gemfile references github.io. See #​311

v2.20.0

Compare Source

  • Reworked tests to remove Cucumber and Aruba
  • Unit tests are now minitest
  • Scaffold now uses minitest and sets versions, plus does not include Cucumber/Aruba any longer
  • CI in CircleCI for matrixed builds, including Ruby 3.0
  • Fixes a Ruby 3 issue. See #​301
  • Other minor updates for local dev. See #​303

v2.19.2

Compare Source

v2.19.1

Compare Source

v2.19.0

Compare Source

  • Change how multiple arguments are documented in help. Previously, we used commas which implies you must put commas on the command line, which you shouldn't, so…this was not a good way to document them :) Fixed now to mirror what git does, e.g. git add pathspec... See #​290 and thanks @​Bluewind !

v2.18.2

Compare Source

  • Fix bug where gemspec assumes git init has been run, but that is not always the case. See #​289 and thanks @​carlesjove !

v2.18.1

Compare Source

  • Fixed bug where autocomplete command configuration was not properly passed down to commands when trying to locate them recursively. See #​288 and #​287 (thanks @​atareshawty for the fix!)

v2.18.0

Compare Source

  • Generated CLIs are now namespaced to avoid issues with dump methods into global scope. See #​278 (thanks @​dblock!)

v2.17.2

Compare Source

v2.17.1

Compare Source

  • Fixes issue where using use_openstruct true and nested commands causes an error calling to_sym. See #​267 and #​268

v2.17.0

Compare Source

v2.16.1

Compare Source

v2.16.0

Compare Source

  • Pass example metadata to the document listener (see #​263)

This is part of work on a markdown version of the generated documentation, but it's fairly hacky right now, so I'm developing it internally at my company to polish it up.

v2.15.0

Compare Source

  • Support for explicit examples that show up in help system, see #​261

v2.14.0

Compare Source

  • Add support for parsing multiple uses of a flag as an array of values (see #​243 courtesy @​JacobEvelyn)

v2.13.4

Compare Source

v2.13.3

Compare Source

  • When generating a config file, only use the primary/first name of flags and switches. Previously, your config would have duplicates for every alias of a flag or switch. See #​218 (thanks @​ZeroPointEnergy!)
  • Fixes issue where boolean settings were not read from the config properly. Namely, false values didn't seem to work properly. See #​217 (thanks @​ZeroPointEnergy!)

v2.13.2

Compare Source

  • Fix bug where stty exists, but returns 0,0 (notably in emacs). See #​223. Thanks @​wconrad!

v2.13.1

Compare Source

  • Removed 1.9 Hash syntax in hopes this can work with 1.8 (see #​214, thanks @​annafw!)

Note that the CI build fails on 1.8 due to the tests using Faker, which requires i18n, which will not install on 1.8 any longer

v2.13.0

Compare Source

  • Add ability to disable "auto-guessing" the command names. e.g. if you have a command named list but execute my_app li, GLI will guess that you meant list. This can be problematic in some contexts and now can be disabled by using autocomplete false. See #​200 (thanks @​ChrisArcand)

v2.12.3

Compare Source

v2.12.2

Compare Source

  • Fix crashing bug in the _doc command.
  • Dropped official support for 1.8.7. This version of Ruby is long-deprecated and while GLI should continue to work, the tools needed to develop GLI exhibit strange behavior that cause tests to fail. Rather than lock to older versions of the tools or waste time figuring out the problem, I've removed 1.8.7 from .travis.yml. I don't plan to introduce 1.9 or 2.0-only code to GLI, but am not going to spend time making sure it works on 1.8.7

v2.12.1

Compare Source

  • Since use of arguments :strict requires that subcommand_option_handling :normal also be set, GLI will blow up if that's not the case (as opposed to just not working).
  • Scaffolding now puts subcommand_option_handling :normal in the new app, as was originally intended, but not ever actually done for some reason o_O.
  • Improved documentation around arguments

v2.12.0

Compare Source

  • Support for "strict" argument parsing. That is, when you specify:

    arg :url

    GLI will check if that arg was given on the command line, and generate an error if not. Note that by default, existing apps will not get this feature without adding arguments :strict to their binfile. Newly-scaffolded apps will have this by default. Thanks @​calestar (see #​187)

v2.11.0

Compare Source

These features and fixes brought to you by the conscientious @​calestar! Many thanks!

  • New Feature - document multiple arguments by repeated calls to arg

    # previously
    arg_name "src dest [second_dest]"
    
    # currently
    arg :src
    arg :dest
    arg :second_dest, :optional

    This doesn't enforce required v optional, but paves the way for it, and makes it easier to build up the arguments help string (see #​184 and #​180, and http://davetron5000.github.io/gli/rdoc/classes/GLI/DSL.html#method-i-arg)

  • Better help output when multiple required flags are omitted (see #​177 and #​182)

  • Getting help with GLI_DEBUG set no longer exits nonzero (getting help without GLI_DEBUG set previously exited zero, so this makes the behavior of getting help more consistent. See #​183 and #​181. Thanks @​calestar!)

v2.10.0

Compare Source

  • New option, hide_commands_without_desc which, if set to true, will hide commands in the help output that have no desc (basically exposes what the hidden _doc command was already doing). Thanks @​blackjid! See #​170
  • Updated must_match documentation, see #​163

v2.9.0

Compare Source

  • Synopsis can be shown in a more compact format for complex apps (See #​160)
  • Full synopsis now shows flags and switches in the correct location on the command line (See #​162)
  • Flags can now be made required and GLI will error if they are omitted (See #​161)
  • Generated gemspec now uses git by default to get the file list (See #​159, thanks to @​JesseHerrick!)

Also, some documentation updates:


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/gli-2.x-lockfile branch from 1cd31c6 to b8c50c4 Compare August 12, 2025 23:34
@renovate renovate bot force-pushed the renovate/gli-2.x-lockfile branch from b8c50c4 to 6e87681 Compare September 26, 2025 19:38
@renovate renovate bot force-pushed the renovate/gli-2.x-lockfile branch from 6e87681 to 5858e99 Compare January 1, 2026 20:10
@renovate renovate bot force-pushed the renovate/gli-2.x-lockfile branch from 5858e99 to bb63f28 Compare February 3, 2026 20:16
@renovate renovate bot force-pushed the renovate/gli-2.x-lockfile branch from bb63f28 to abbce50 Compare February 13, 2026 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants