Bump com.github.ajalt.clikt:clikt from 4.2.+ to 4.4.0
Bumps com.github.ajalt.clikt:clikt from 4.2.+ to 4.4.0.
Release notes
Sourced from com.github.ajalt.clikt:clikt's releases.
4.4.0
This release adds support for
linuxArm64andwasmJstargets.4.3.0
Added
- Added
limitparameter tooption().counted()to limit the number of times the option can be used. You can either clamp the value to the limit, or throw an error if the limit is exceeded. (#483)- Added
Context.registerClosableandContext.callOnCloseto allow you to register cleanup actions that will be called when the command exits. (#395)Fixed
Changelog
Sourced from com.github.ajalt.clikt:clikt's changelog.
4.4.0
Added
- Publish
linuxArm64andwasmJstargets.Changed
In a subcommand with
argument().multiple(), the behavior is now the same regardless of the value ofallowMultipleSubcommands: if a token matches a subcommand name, it's now treated as a subcommand rather than a positional argument.Due to changes to the internal parsing algorithm, the exact details of error messages when multiple usage errors occur have changed in some cases.
Breaking Change: Moved the following parameters from
CliktCommand's constructor; override the corresponding properties instead:
removed parameter replacement property helpfun helpepilogfun helpEpiloginvokeWithoutSubcommandval invokeWithoutSubcommandprintHelpOnEmptyArgsval printHelpOnEmptyArgshelpTagsval helpTagsautoCompleteEnvvarval autoCompleteEnvvarallowMultipleSubcommandsval allowMultipleSubcommandstreatUnknownOptionsAsArgsval treatUnknownOptionsAsArgshiddenval hiddenFromHelpThe following methods on
CliktCommandhave been renamed:commandHelp->help,commandHelpEpilog->epilog. The old names are deprecated.Breaking Change:
CliktCommand.mainandCliktCommand.parseare now extension functions rather than methods.Fixed
- Fixed excess arguments not being reported when
allowMultipleSubcommands=trueand a subcommand has excess arguments followed by another subcommand.Deprecated
- Deprecated
Context.originalArgv. It will now always return an empty list. If your commands need an argv, you can pass it to them before you run them.Removed
- Removed previously deprecated experimental annotations.
4.3.0
Added
- Added
limitparameter tooption().counted()to limit the number of times the option can be used. You can either clamp the value to the limit, or throw an error if the limit is exceeded. (#483)- Added
Context.registerClosableandContext.callOnCloseto allow you to register cleanup actions that will be called when the command exits. (#395)Fixed
- Fixed
unrecognized modifier 'i'that happened on tab-completion when using sub command aliases. Thanks to@hick209for the contribution. (#500)- Make sure auto complete script works on zsh, fixing the error
complete:13: command not found: compdef. Thanks to@hick209for the contribution. (#499)4.2.2
Changed
- Options and arguments can now reference option groups in their
defaultLazyand other finalization blocks. They can also freely reference each other, including though chains of references. (#473)- Updated Kotlin to 1.9.21 (#472)
4.2.1
Added
- Added
toStringimplementations to options and arguments. (#434)- Added
CliktCommand.testoverload that takes a vararg ofStrings as the command line arguments. Thanks to@sschuberthfor the contribution (#451)
... (truncated)
Commits
- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)