Skip to content

Releases: lambdaisland/cli

v1.30.130

Choose a tag to compare

@plexus plexus released this 28 May 11:39

Fixed

  • Improve shell completion of flags tied to subcommands

v1.29.127

Choose a tag to compare

@plexus plexus released this 10 Apr 12:15

Changed

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

v1.28.124

Choose a tag to compare

@plexus plexus released this 10 Apr 11:32

Fixed

  • Ignore leading whitespace on consecutive lines of flag docs

v1.27.121

Choose a tag to compare

@plexus plexus released this 27 Oct 10:00

Fixed

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

v1.26.116

Choose a tag to compare

@plexus plexus released this 20 Oct 09:14

Fixed

  • Fix completion when no docstring is present

v1.25.107

Choose a tag to compare

@plexus plexus released this 16 Oct 09:43

Added

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

v0.24.97

Choose a tag to compare

@plexus plexus released this 12 Jul 09:14

Fixed

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

v0.23.93

Choose a tag to compare

@plexus plexus released this 25 Feb 08:02

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

Choose a tag to compare

@plexus plexus released this 09 Feb 11:08

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

Choose a tag to compare

@plexus plexus released this 09 Feb 08:15

Added

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