-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependency com.github.ajalt.clikt:clikt from 4.4.0 to 5.0.0 (major v5) #380
Merged
Conversation
This file contains 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
renovate
bot
force-pushed
the
renovate/major-5-clikt
branch
9 times, most recently
from
September 21, 2024 21:10
c5133d9
to
a68863f
Compare
TWiStErRob
force-pushed
the
renovate/major-5-clikt
branch
from
September 22, 2024 16:56
a68863f
to
0f1e40f
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
TWiStErRob
force-pushed
the
renovate/major-5-clikt
branch
from
September 28, 2024 16:28
eb93c62
to
6d4eaf5
Compare
Exception in thread "main" java.lang.SecurityException: System.exit() is not allowed at net.twisterrob.ghlint.docs.cli.NoExitSecurityManager.checkExit(main.kt:11) at java.base/java.lang.Runtime.exit(Runtime.java:113) at java.base/java.lang.System.exit(System.java:1860) at com.github.ajalt.mordant.internal.MppInternal_jvmKt.exitProcessMpp(MppInternal.jvm.kt:149) at com.github.ajalt.mordant.platform.MultiplatformSystem.exitProcess(MultiplatformSystem.kt:26) at com.github.ajalt.clikt.core.MordantContextKt.installMordant$lambda$8$lambda$6(MordantContext.kt:59) at com.github.ajalt.clikt.core.CoreCliktCommandKt.main(CoreCliktCommand.kt:114) at com.github.ajalt.clikt.core.CoreCliktCommandKt.main(CoreCliktCommand.kt:90) at net.twisterrob.ghlint.cli.MainKt.main(main.kt:6) at net.twisterrob.ghlint.docs.cli.MainKt.main(main.kt:22)
Execution failed for task ':ghlint-cli:fatJar'. > Cannot copy zip entry '${GRADLE_USER_HOME}\caches\modules-2\files-2.1\com.github.ajalt.mordant\mordant-jvm-ffm-jvm\3.0.0\96a8677a522395ae552719cfd050d5b9a47ecd8e\mordant-jvm-ffm-jvm.jar!META-INF/services/com.github.ajalt.mordant.terminal.TerminalInterfaceProvider' to 'META-INF/services/com.github.ajalt.mordant.terminal.TerminalInterfaceProvider' because zip entry '${GRADLE_USER_HOME}\caches\modules-2\files-2.1\com.github.ajalt.mordant\mordant-jvm-jna-jvm\3.0.0\bde15ea7842e9b77dec187390cde07bf6c15b14d\mordant-jvm-jna-jvm.jar!META-INF/services/com.github.ajalt.mordant.terminal.TerminalInterfaceProvider' has already been copied there. Execution failed for task ':ghlint-cli:fatJar'. > Cannot copy zip entry '${GRADLE_USER_HOME}\caches\modules-2\files-2.1\com.github.ajalt.mordant\mordant-jvm-graal-ffi-jvm\3.0.0\e5c456bbad024da819bffde07a223ae6cb9582a3\mordant-jvm-graal-ffi-jvm.jar!META-INF/proguard/mordant.pro' to 'META-INF/proguard/mordant.pro' because zip entry '${GRADLE_USER_HOME}\caches\modules-2\files-2.1\com.github.ajalt.mordant\mordant-jvm-jna-jvm\3.0.0\bde15ea7842e9b77dec187390cde07bf6c15b14d\mordant-jvm-jna-jvm.jar!META-INF/proguard/mordant.pro' has already been copied there.
TWiStErRob
force-pushed
the
renovate/major-5-clikt
branch
from
September 28, 2024 19:28
6d4eaf5
to
775a5de
Compare
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.0.0
Release Notes
ajalt/clikt (com.github.ajalt.clikt:clikt)
v5.0.0
Compare Source
Added
iosArm64
andiosX64
targets.NoSuchArgument
exception that is thrown when too many arguments were given on the command line. Previously, a less specificUsageError
was thrown instead.CommandLineParser.tokenize
that splits a string into argv tokens.CommandLineParser
that provides functions for parsing and finalizing commands manually for more control.Context.invokedSubcommands
that contains all subcommands of the current command that are going to be invoked whenallowMultipleSubcommands
istrue
.SuspendingCliktCommand
that has asuspend fun run
method, allowing you to use coroutines in your commands.ChainedCliktCommand
that allows you to return a value from yourrun
method and pass it to the next command in the chain.Context.data
as an alternative toobj
that allows you to store more than one object in the context.Context.echoer
to customize howecho
messages are printed.CompletionGenerator
to manually generate completions for a command.Context.exitProcess
which you can use to prevent the process from exiting during tests.CliktCommand.test
to control the terminal interactivity. (#517)associate{}
,associateBy{}
, andassociateWith{}
transforms for options that allow you to convert the keys and values of the map. (#529)limit
andignoreCase
parameters tooption().split()
. (#541)--help
on 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:help
fun help
epilog
fun helpEpilog
invokeWithoutSubcommand
val invokeWithoutSubcommand
printHelpOnEmptyArgs
val printHelpOnEmptyArgs
helpTags
val helpTags
autoCompleteEnvvar
val autoCompleteEnvvar
allowMultipleSubcommands
val allowMultipleSubcommands
treatUnknownOptionsAsArgs
val treatUnknownOptionsAsArgs
hidden
val hiddenFromHelp
The following methods on
CliktCommand
have been renamed:commandHelp
->help
,commandHelpEpilog
->epilog
. The old names are deprecated.Breaking Change:
CliktCommand.main
andCliktCommand.parse
are now extension functions rather than methods.Breaking Change:
Context.obj
andContext.terminal
, andOptionTransformContext.terminal
are now extension functions rather than properties.Breaking Change: The
RenderedSection
andDefinitionRow
classes have moved toAbstractHelpFormatter
.Markdown support in the help formatter is no longer included by default. To enable it, include the
:clikt-markdown
dependency and callyourCommand.installMordantMarkdown()
before parsing.Updated Kotlin to 2.0.0
Fixed
allowMultipleSubcommands=true
and a subcommand has excess arguments followed by another subcommand.printHelpOnEmptyArgs=true
will 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.data
map.Context.expandArgumentFiles
. UseContext.argumentFileReader
instead.Context
fields to be more consistent. The old names are deprecated.Context.envvarReader
Context.readEnvvar
Context.correctionSuggestor
Context.suggestTypoCorrection
Context.argumentFileReader
Context.readArgumentFile
Context.tokenTransformer
Context.transformToken
Removed
MordantHelpFormatter.graphemeLength
TermUi
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.