Update dependency com.github.ajalt.clikt:clikt to v5 - #34
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/com.github.ajalt.clikt-clikt-5.x
branch
from
October 5, 2024 18:21
0754524 to
59326dd
Compare
renovate
Bot
force-pushed
the
renovate/com.github.ajalt.clikt-clikt-5.x
branch
from
December 2, 2024 11:34
59326dd to
a4ecad5
Compare
renovate
Bot
force-pushed
the
renovate/com.github.ajalt.clikt-clikt-5.x
branch
from
February 9, 2025 20:41
a4ecad5 to
b6eae7a
Compare
renovate
Bot
force-pushed
the
renovate/com.github.ajalt.clikt-clikt-5.x
branch
from
August 10, 2025 13:06
b6eae7a to
86feca1
Compare
renovate
Bot
force-pushed
the
renovate/com.github.ajalt.clikt-clikt-5.x
branch
from
March 1, 2026 18:12
86feca1 to
05e6efe
Compare
renovate
Bot
force-pushed
the
renovate/com.github.ajalt.clikt-clikt-5.x
branch
from
March 5, 2026 09:14
05e6efe to
88d9351
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
4.4.0→5.1.0Release Notes
ajalt/clikt (com.github.ajalt.clikt:clikt)
v5.1.0Compare Source
Added
inputEventsparameter toCliktCommand.testoverloads for simulating terminal input. (#630)defaultLazyto mutually exclusive options. (#616)choice()that accept aListof choices. (#596)Changed
prompt()options will report a missing option instead of prompting when the terminal is not interactive. You can passinputInteractive = truetoCliktCommand.testto testprompt(). (#622)SuspendingNoOpCliktCommandis nowopento matchNoOpCliktCommand. (#613)uint()andulong()option values. (#624)Fixed
v5.0.3Compare Source
Fixed
@argfilesnot being expanded when specified after a subcommand (#570)v5.0.2Compare Source
Changed
v5.0.1Compare Source
Added
Changed
v5.0.0Compare Source
Added
iosArm64andiosX64targets.NoSuchArgumentexception that is thrown when too many arguments were given on the command line. Previously, a less specificUsageErrorwas thrown instead.CommandLineParser.tokenizethat splits a string into argv tokens.CommandLineParserthat provides functions for parsing and finalizing commands manually for more control.Context.invokedSubcommandsthat contains all subcommands of the current command that are going to be invoked whenallowMultipleSubcommandsistrue.SuspendingCliktCommandthat has asuspend fun runmethod, allowing you to use coroutines in your commands.ChainedCliktCommandthat allows you to return a value from yourrunmethod and pass it to the next command in the chain.Context.dataas an alternative toobjthat allows you to store more than one object in the context.Context.echoerto customize howechomessages are printed.CompletionGeneratorto manually generate completions for a command.Context.exitProcesswhich you can use to prevent the process from exiting during tests.CliktCommand.testto control the terminal interactivity. (#517)associate{},associateBy{}, andassociateWith{}transforms for options that allow you to convert the keys and values of the map. (#529)limitandignoreCaseparameters tooption().split(). (#541)--helpon subcommands when parents have required parameters.Changed
In a subcommand with and an
argument()withmultiple()oroptional(), 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: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.Breaking Change:
Context.objandContext.terminal, andOptionTransformContext.terminalare now extension functions rather than properties.Breaking Change: The
RenderedSectionandDefinitionRowclasses have moved toAbstractHelpFormatter.Markdown support in the help formatter is no longer included by default. To enable it, include the
:clikt-markdowndependency and callyourCommand.installMordantMarkdown()before parsing.Updated Kotlin to 2.0.0
Fixed
allowMultipleSubcommands=trueand a subcommand has excess arguments followed by another subcommand.printHelpOnEmptyArgs=truewill no longer print help if an option has a value from an environment variable or value source. (#382)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, or set in on the newContext.datamap.Context.expandArgumentFiles. UseContext.argumentFileReaderinstead.Contextfields to be more consistent. The old names are deprecated.Context.envvarReaderContext.readEnvvarContext.correctionSuggestorContext.suggestTypoCorrectionContext.argumentFileReaderContext.readArgumentFileContext.tokenTransformerContext.transformTokenRemoved
MordantHelpFormatter.graphemeLengthTermUiConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.