Releases: lambdaisland/cli
Releases · lambdaisland/cli
v0.18.74
Added
- Allow using a var that points to a map as a command specification
v0.17.71
Fixed
- Add missing require for
clojure.pprint
v0.16.68
Added
- Added
:coll?
flagopt for flags that can be specified multiple times
- Correctly print multiline flag docstrings
Fixed
Changed
v0.15.65
Fixed
- Make sure
cli/*opts*
reflects what the main command receives
v0.14.62
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
Fixed
- Fix generated help text when subcommand is not recognized
v0.12.53
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
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
Added
- Better help messages: say why we are showing the help (no such command,
missing positional args)
v0.9.42
Changed
- Exit with error message if conditional arguments are missing