clikt
clikt copied to clipboard
Multiplatform command line interface parsing for Kotlin
Hi there! Big fan of clikt, this project is awesome. We have made a practice of extending certain clikt classes including `CliktCommand` to get additional or supportive functionality we've desired....
Thanks for the library! I'm using it to drive Bugzilla -> GitHub issues conversion tool: https://github.com/vlsi/bugzilla2github I noticed that currently Clikt prints only the first The current behavior is Clikt...
The mkdocs website (https://ajalt.github.io/clikt/) currently shows "3.4.0" while the GitHub sources shows "3.5.0". Not a huge deal but automating that process would make sure both pages stay in sync.
Hello @ajalt, I love your library, it is one of the best in the Kotlin space and very much useful, appreciate your hard work! Coming from Python I was trying...
I'm just wondering whether there is any best practice / built-in means to "share" exit codes from chained subcommands. Because if one subcommand fails, you may still want to continue...
For the use case I am currently facing, [`CliktCommand.main`](https://github.com/ajalt/clikt/blob/3.3.0/clikt/src/commonMain/kotlin/com/github/ajalt/clikt/core/CliktCommand.kt#L408) does a little bit too much: ```kotlin fun main(argv: List) { try { parse(argv) } catch (e: ProgramResult) { exitProcessMpp(e.statusCode) }...
When I run my application with unknown option, like `--nonsense`, I get error `Error: no such option: "--nonsense"`, and that's ok: ```shell $ java -jar myapp.jar --nonsense Error: no such...
It would be great if we can print the environment variables for arguments when `--help` is enabled. Ideally, it can be configurable in `CliktHelpFormatter`.
Zsh has support for showing the description of parameters and subcommands. Example:  Can Clikt generate a completion script which shows these helpful descriptions?