You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@
18
18
- Added `associate{}`, `associateBy{}`, and `associateWith{}` transforms for options that allow you to convert the keys and values of the map. ([#529](https://github.com/ajalt/clikt/pull/529))
19
19
- Added support for aliasing options to other options. ([#535](https://github.com/ajalt/clikt/pull/535))
20
20
- Added `limit` and `ignoreCase` parameters to `option().split()`. ([#541](https://github.com/ajalt/clikt/pull/541))
21
+
- Support calling `--help` on subcommands when parents have required parameters.
21
22
22
23
### Changed
23
24
- In a subcommand with and an `argument()` with `multiple()` or `optional()`, the behavior is now the same regardless of the value of `allowMultipleSubcommands`: if a token matches a subcommand name, it's now treated as a subcommand rather than a positional argument.
@@ -39,8 +40,8 @@
39
40
-**Breaking Change:**`CliktCommand.main` and `CliktCommand.parse` are now extension functions rather than methods.
40
41
-**Breaking Change:**`Context.obj` and `Context.terminal`, and `OptionTransformContext.terminal` are now extension functions rather than properties.
41
42
-**Breaking Change:** The `RenderedSection` and `DefinitionRow` classes have moved to `AbstractHelpFormatter`.
43
+
- Markdown support in the help formatter is no longer included by default. To enable it, include the `:clikt-markdown` dependency and call `yourCommand.installMordantMarkdown()` before parsing.
42
44
- Updated Kotlin to 2.0.0
43
-
- Support calling `--help` on subcommands when parents have required parameters.
44
45
45
46
### Fixed
46
47
- Fixed excess arguments not being reported when `allowMultipleSubcommands=true` and a subcommand has excess arguments followed by another subcommand.
0 commit comments