fix(deps): update dependency com.github.ajalt.clikt:clikt to v4 (#125)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.github.ajalt.clikt:clikt](https://togithub.com/ajalt/clikt) |
`3.5.4` -> `4.2.2` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.github.ajalt.clikt:clikt/4.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.github.ajalt.clikt:clikt/4.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.github.ajalt.clikt:clikt/3.5.4/4.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.github.ajalt.clikt:clikt/3.5.4/4.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>ajalt/clikt (com.github.ajalt.clikt:clikt)</summary>

###
[`v4.2.2`](https://togithub.com/ajalt/clikt/blob/HEAD/CHANGELOG.md#422)

[Compare Source](https://togithub.com/ajalt/clikt/compare/4.2.1...4.2.2)

##### Changed

- Options and arguments can now reference option groups in their
`defaultLazy` and other finalization blocks. They can also freely
reference each other, including though chains of references.
([#&#8203;473](https://togithub.com/ajalt/clikt/issues/473))
- Updated Kotlin to 1.9.21
([#&#8203;472](https://togithub.com/ajalt/clikt/pull/472))

###
[`v4.2.1`](https://togithub.com/ajalt/clikt/blob/HEAD/CHANGELOG.md#421)

[Compare Source](https://togithub.com/ajalt/clikt/compare/4.2.0...4.2.1)

##### Added

- Added `toString` implementations to options and arguments.
([#&#8203;434](https://togithub.com/ajalt/clikt/issues/434))
- Added `CliktCommand.test` overload that takes a vararg of `String`s as
the command line arguments. Thanks to
[@&#8203;sschuberth](https://togithub.com/sschuberth) for the
contribution
([#&#8203;451](https://togithub.com/ajalt/clikt/issues/451))

##### Fixed

- Update Mordant dependency to fix crashes on native targets and GraalVM
([#&#8203;447](https://togithub.com/ajalt/clikt/issues/447))

###
[`v4.2.0`](https://togithub.com/ajalt/clikt/blob/HEAD/CHANGELOG.md#420)

[Compare Source](https://togithub.com/ajalt/clikt/compare/4.1.0...4.2.0)

##### Added

- Added `requireConfirmation` parameter to `option().prompt()`
([#&#8203;426](https://togithub.com/ajalt/clikt/issues/426))
- Added `CliktCommand.terminal` extension for accessing the terminal
from a command.
- Added `includeSystemEnvvars`, `ansiLevel`, `width`, and `height`
parameters to all `CliktCommand.test` overloads.

##### Deprecated

- Deprecated `CliktCommand.prompt`, use `CliktCommand.terminal.prompt`
or `Prompt` instead.
-   Deprecated `CliktCommand.confirm`, use `YesNoPrompt` instead.

##### Fixed

- Fixed incorrect error message when a `defaultLazy` option referenced a
`required` option.
([#&#8203;430](https://togithub.com/ajalt/clikt/issues/430))

###
[`v4.1.0`](https://togithub.com/ajalt/clikt/blob/HEAD/CHANGELOG.md#410)

[Compare Source](https://togithub.com/ajalt/clikt/compare/4.0.0...4.1.0)

##### Added

- 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>`.
([#&#8203;416](https://togithub.com/ajalt/clikt/issues/416))
- Added `option().optionalValueLazy{}`, which work like
`optionalValue()` but the default value is computed lazily.
([#&#8203;381](https://togithub.com/ajalt/clikt/issues/381))

##### Changed

-   Updated Kotlin to 1.9.0
- `PrintMessage`, `PrintHelpMessage` and `PrintCompletionMessage` now
default to exiting with a status code 0, which is the behavior they had
in 3.x. ([#&#8203;419](https://togithub.com/ajalt/clikt/issues/419))

###
[`v4.0.0`](https://togithub.com/ajalt/clikt/blob/HEAD/CHANGELOG.md#400)

[Compare Source](https://togithub.com/ajalt/clikt/compare/3.5.4...4.0.0)

##### Added

- Added `Context.errorEncountered` which is true if parsing has
continued after an error was encountered.
- `option().help{""}` and `argument().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` and `Argument.argumentHelp`,
`CliktCommand.commandHelp`, and `CliktCommand.commandHelpEpilog` are now
methods that take the context as an argument, and the `help` parameter
to `copy` is now a `helpGetter` lambda. `CliktCommand.shortHelp` now
takes the context as an argument.
- The `message` method on `TransformContext` interfaces is now an
extension.

##### Deprecated

- Deprecated `CliktCommand.commandHelp` and `commandHelpEpilog`
properties in favor of the methods with the same name.

</details>

---

### 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 becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/pachli/pachli-android).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDcuMiIsInVwZGF0ZWRJblZlciI6IjM3LjEyMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot] 2024-01-08 16:45:03 +01:00 committed by GitHub
parent 280350f731
commit d5cfa3410d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ subprojects {
apply(plugin = "application") apply(plugin = "application")
dependencies { dependencies {
add("implementation", "com.github.ajalt.clikt:clikt:3.5.4") add("implementation", "com.github.ajalt.clikt:clikt:4.2.2")
} }
tasks.withType<KotlinCompile>().configureEach { tasks.withType<KotlinCompile>().configureEach {