Skip to content

Releases: lambdaisland/cli

v0.18.74

05 Aug 13:14
Compare
Choose a tag to compare

Added

  • Allow using a var that points to a map as a command specification

v0.17.71

24 Jul 11:04
Compare
Choose a tag to compare

Fixed

  • Add missing require for clojure.pprint

v0.16.68

17 Jul 11:43
Compare
Choose a tag to compare

Added

  • Added :coll? flagopt for flags that can be specified multiple times
  • Correctly print multiline flag docstrings

Fixed

Changed

v0.15.65

16 Jul 14:05
Compare
Choose a tag to compare

Fixed

  • Make sure cli/*opts* reflects what the main command receives

v0.14.62

04 Jul 06:34
Compare
Choose a tag to compare

Added

  • Allow :init also on nested subcommands, gets merged into top level init.
    Flags are processed afterwards, so this is good way to set initial data that
    flags can filter/change
  • Flags handlers can now be specified directly as vars, the docstring is used as flag doc

v0.13.58

07 Jun 07:59
Compare
Choose a tag to compare

Fixed

  • Fix generated help text when subcommand is not recognized

v0.12.53

30 May 13:01
Compare
Choose a tag to compare

Changed

  • When catching a top-level exception, print the ex-data, if any
  • If the ex-data contains an :exit key, use that as exit code instead of 1
  • Rework the help layout be more man-page-like

v0.11.48

27 May 14:37
Compare
Choose a tag to compare

Fixed

  • Show correct help for subcommands

Changed

  • Change the help layout to be man-page style
  • When catching a top-level exception, print the ex-data (if any)
  • Use the :exit in the ex-data as exit code (1 otherwise)

v0.10.45

27 May 10:52
Compare
Choose a tag to compare

Added

  • Better help messages: say why we are showing the help (no such command,
    missing positional args)

v0.9.42

27 May 10:34
Compare
Choose a tag to compare

Changed

  • Exit with error message if conditional arguments are missing