Releases: ajalt/clikt
Releases · ajalt/clikt
3.5.4
3.5.3
3.5.2
3.5.1
3.5.0
Added
- Added
hidden
parameter toCliktCommand
, which will prevent the command from being displayed as a subcommand in help output (#353) - Publish artifacts for the
macosArm64
target. Note that this target is not tested on CI. (#352)
Changed
- Default values for arguments will now be included in help output when
showDefaultValues=true
is set on your help formatter (#357)
Fixed
3.4.2
3.4.1
3.4.0
3.2.0
Added
InputStream.isCliktParameterDefaultStdin
andOutputStream.isCliktParameterDefaultStdout
to check if the streams returned frominputStream
/outputStream
options are proxying stdin/stdout (#272)
Changed
- Make parameters of
mutuallyExclusiveOptions
covariant to allow validation without explicit type annotations. (#265) - Updated kotlin to 1.5.0
Fixed
- Reading from an option or argument property on a command that hasn't been invoked will now always throw an
IllegalStateException
3.1.0
Added
- Added
required()
anddefaultLazy()
for nullable flag options likeswitch()
. - Added support for generating autocomplete scripts for Fish shells (thanks to @faogustavo for the initial PR)
- Added
CompletionCommand
andCliktCommand.completionOption()
that will print an autocomplete script when invoked, as an alternative to using environment variables.
Changed
- Updated Kotlin to 1.4.21
@argfiles
now allow line breaks in quoted values, which are included in the value verbatim. You can now end lines with\
to concatenate them with the following line.