clikt v3.3.0 Release Notes
-
โ Added
- โ Added
default
parameter toargument().multiple()
(#305) - ๐ป
Context.originalArgv
that allows you to read the command line arguments from within a command'srun
(#290) context { envarReader = {...} }
to set a custom function to read from environment variables (#299)
๐ Changed
- 0๏ธโฃ
defaultLazy
values can now reference other parameters, as long the referenced parameters do not also reference other parameters - ๐ You can now call
CliktCommand.context
multiple times on the same command, and all builder blocks will be applied - Validate values entered to a
prompt
option, and show another prompt if the validation fails (#288) - โก๏ธ Updated kotlin to 1.5.31
๐ Fixed
- Report error when excess arguments are given to a command with
allowMultipleSubcommands=true
(#303)
- โ Added