kotlinx-cli icon indicating copy to clipboard operation
kotlinx-cli copied to clipboard

Pure Kotlin implementation of a generic CLI parser.

Results 35 kotlinx-cli issues
Sort by recently updated
recently updated
newest added

Will help with #53 and is overall a Good Thing (TM)

This condition is wrong, empty list should be permitted to be default value as all other concrete values can be. And in my case it is default value. What's more...

Your documentation states: * Hackable: build extensions on top of it however you like However, after attempting to "hack" this library, I've found that this goal isn't being met satisfactorily....

Allow define aliases for subcommands. Rationale - Sometimes different names of some subcommand better match different use cases. I.e. `backup restore-snapshot` and `backup rollback-to` have some meaning but one of...

Is it possible with the current state of the API to share options/arguments with subcommands? Example: I have two subcommands, which process either a) a single file or b) a...

Is there a way to make passing subCommands mandatory or at least make a subCommand the default?

It would be useful to have an online reference documentation (something like for [kotlinx.coroutines](https://kotlin.github.io/kotlinx.coroutines/)). The example in the README already is very helpful, but i think it would be nice...