picocli icon indicating copy to clipboard operation
picocli copied to clipboard

Picocli is a modern framework for building powerful, user-friendly, GraalVM-enabled command line apps with ease. It supports colors, autocompletion, subcommands, and more. In 1 source file so apps ca...

Results 213 picocli issues
Sort by recently updated
recently updated
newest added

Somehow related to #877: Currently, it is possible to annotate a defaultValue for options and parameters. However, one can specify a string/value only, not multiple values. Fortunately, one can workaround...

type: API :electric_plug:
theme: compatibility
lang: java
lang: groovy
lang: kotlin
lang: scala

Is there a way to reference another option in an option string? The biggest purpose here is that I would like picocli to 1) verify the option exists (i.e. check...

type: enhancement :sparkles:
theme: usagehelp

Hi. We are currently not using inherited options and because we are using Picocli through Quarkus we are sharing options between command and subcommands by making them a `@Singleton` (which...

When I define parameters that I want to be required only for the main command but not in the sub command I still get `Missing required parameters` error: ```java @CommandLine.Command(name...

type: question :grey_question:
type: API :electric_plug:
theme: parser

When an InitializationException is thrown because the user-specified model is invalid, the exception message explains the reason of the failure but not the class that is configured incorrectly. This makes...

type: enhancement :sparkles:

Hi, I use single quotes around a json string that I pass to the cli. I expected that the option `TrimQuotes` would trim them but it seems that currently only...

type: enhancement :sparkles:
theme: parser

[Yori](https://github.com/malxau/yori) is a CMD replacement shell that supports backquotes, job control, and improves tab completion, file matching, aliases, command history, and more. http://www.malsmith.net/yori/ We can generate yori completion scripts from...

theme: auto-completion
theme: shell
theme: integration

PowerShell supports customizable TAB completion. It should be possible to generate a custom argument completion from a picocli model. See: * https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/register-argumentcompleter?view=powershell-7 * https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_functions_advanced_parameters?view=powershell-7 * Example: https://github.com/click-contrib/click-completion * Example: https://github.com/clap-rs/clap/blob/master/clap_generate/src/generators/shells/powershell.rs

theme: auto-completion
theme: shell
theme: integration

The [clink](https://github.com/mridgers/clink) project allows TAB completion in the Command Prompt shell. The clink documentation indicates it should be possible to customize this: > Clink can be extended through its Lua...

theme: auto-completion
theme: shell
theme: integration

Create simple test framework for testing JVM and native CLI apps. Ideally allows the same test to be applied to a `CommandLine` object executed in the JVM, as well as...

type: API :electric_plug:
theme: module