Skip to content

Releases: davetron5000/gli

v2.15.0

21 Jan 18:20
Compare
Choose a tag to compare
  • Support for explicit examples that show up in help system, see #261

v2.14.0

16 May 20:32
Compare
Choose a tag to compare
  • Add support for parsing multiple uses of a flag as an array of values (see #243 courtesy @JacobEvelyn)

v2.13.4

25 Nov 12:48
Compare
Choose a tag to compare
  • Replace deprecated call to File.exists? with File.exist? (see #229 thanks @edusantana!)

v2.13.3

12 Nov 13:51
Compare
Choose a tag to compare
  • 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

28 Aug 15:30
Compare
Choose a tag to compare
  • Fix bug where stty exists, but returns 0,0 (notably in emacs). See #223. Thanks @wconrad!

v2.13.1

12 May 13:26
Compare
Choose a tag to compare
  • 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

03 Mar 12:53
Compare
Choose a tag to compare
  • 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

21 Feb 17:09
Compare
Choose a tag to compare

v2.12.2

29 Sep 13:45
Compare
Choose a tag to compare
  • 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

03 Sep 13:19
Compare
Choose a tag to compare
  • 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