Releases: lambdaisland/cli
Releases · lambdaisland/cli
v0.23.93
v0.22.87
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
v0.20.81
v0.19.78
Added
- Add provenance tracking,
:lambdaisland.cli/sources
is a map from options key
to human readable description of where that key came from, e.g.--foo command line flag
, orpositional command line argument idx=0
. See
lambdaisland/config for a use case.
v0.18.74
v0.17.71
v0.16.68
v0.15.65
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