clikt v2.3.0 Release Notes
Release Date: 2019-11-07 // over 4 years ago-
2019-11-07
➕ Added
option().groupSwitch()
, which works likegroupChoice()
, but uses aswitch()
option rather than achoice()
option.- 0️⃣
UsageError
now has astatusCode
parameter (which defaults to 1). If you're usingClicktCommand.main
, the value ofstatusCode
will be passed toexitProcess
.
🔄 Changed
- 🖨 Shell completion code is now printed by throwing a
PrintCompletionMessage
(a subclass ofPrintMessage
) rather than callingecho
directly.