fix(deps): update dependency com.github.ajalt.clikt:clikt to v4 #563
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.5.4
->4.4.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
ajalt/clikt (com.github.ajalt.clikt:clikt)
v4.4.0
Compare Source
Added
linuxArm64
andwasmJs
targets.v4.3.0
Compare Source
Added
limit
parameter 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)Context.registerClosable
andContext.callOnClose
to allow you to register cleanup actions that will be called when the command exits. (#395)Fixed
unrecognized modifier 'i'
that happened on tab-completion when using sub command aliases. Thanks to @hick209 for the contribution. (#500)complete:13: command not found: compdef
. Thanks to @hick209 for the contribution. (#499)v4.2.2
Compare Source
Changed
defaultLazy
and other finalization blocks. They can also freely reference each other, including though chains of references. (#473)v4.2.1
Compare Source
Added
toString
implementations to options and arguments. (#434)CliktCommand.test
overload that takes a vararg ofString
s as the command line arguments. Thanks to @sschuberth for the contribution (#451)Fixed
v4.2.0
Compare Source
Added
requireConfirmation
parameter tooption().prompt()
(#426)CliktCommand.terminal
extension for accessing the terminal from a command.includeSystemEnvvars
,ansiLevel
,width
, andheight
parameters to allCliktCommand.test
overloads.Deprecated
CliktCommand.prompt
, useCliktCommand.terminal.prompt
orPrompt
instead.CliktCommand.confirm
, useYesNoPrompt
instead.Fixed
defaultLazy
option referenced arequired
option. (#430)v4.1.0
Compare Source
Added
MordantHelpFormatter.renderAttachedOptionValue
that you can override to change how option values are shown, e.g. if you want option to show as--option <value>
instead of--option=<value>
. (#416)option().optionalValueLazy{}
, which work likeoptionalValue()
but the default value is computed lazily. (#381)Changed
PrintMessage
,PrintHelpMessage
andPrintCompletionMessage
now default to exiting with a status code 0, which is the behavior they had in 3.x. (#419)v4.0.0
Compare Source
Added
Context.errorEncountered
which is true if parsing has continued after an error was encountered.option().help{""}
andargument().help{""}
extensions that set the parameter's help text lazily, with access to the current context so that you can add colors.Changed
Option.optionHelp
andArgument.argumentHelp
,CliktCommand.commandHelp
, andCliktCommand.commandHelpEpilog
are now methods that take the context as an argument, and thehelp
parameter tocopy
is now ahelpGetter
lambda.CliktCommand.shortHelp
now takes the context as an argument.message
method onTransformContext
interfaces is now an extension.Deprecated
CliktCommand.commandHelp
andcommandHelpEpilog
properties in favor of the methods with the same name.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.