Skip to content

Releases: lambdaisland/cli

v1.29.127

10 Apr 12:15

Choose a tag to compare

Changed

  • When there are a large number of flags/subcommands, split the synopsis across
    multiple lines, breaking at 120 characters

v1.28.124

10 Apr 11:32

Choose a tag to compare

Fixed

  • Ignore leading whitespace on consecutive lines of flag docs

v1.27.121

27 Oct 10:00

Choose a tag to compare

Fixed

  • Hide :no-doc flags from help text
  • Correctly quote in .zshrc completion declaration

v1.26.116

20 Oct 09:14

Choose a tag to compare

Fixed

  • Fix completion when no docstring is present

v1.25.107

16 Oct 09:43

Choose a tag to compare

Added

  • Experimentally add zsh and bash completions
  • Support both :command and :commands on the same level

v0.24.97

12 Jul 09:14

Choose a tag to compare

Fixed

  • When having named positional arguments and trailing unnamed positional arguments, assign them correctly

v0.23.93

25 Feb 08:02

Choose a tag to compare

Added

  • Add source tracking (config provenance) for keys in the initial context

Fixed

  • Only apply flag defaults if they are not yet present in the initial context

v0.22.87

09 Feb 11:08

Choose a tag to compare

Added

  • :middleware can now be a single function, not only a sequence of functions

Changed

  • [BREAKING] When setting a :handler for a boolean flag (one that looks like
    --[no-]...), the handler now receives the boolean value as a second argument
  • [BREAKING] Invoke flag handlers/middleware in the order they are specified, so
    that later flags can override earlier flags

v0.21.84

09 Feb 08:15

Choose a tag to compare

Added

  • Support :middleware in command specs, not just in flag handlers

v0.20.81

06 Feb 07:58

Choose a tag to compare

Fixed

  • Call parse of default value, as documented, also when no :handler for a
    flag is specified. Fixes #9