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

The test provided shows that, under certain conditions, incorrect clearing of command option values occurs. `test2` fails because after `test1` execution Picocli start providing `--option option` as default value for...

type: question :grey_question:

The following test fails: ```java @Test public void testReuseBothCommandLineAndUserObjectWithArgGroup() { Command userObject = new Command(); CommandLine cmdLine = new CommandLine(userObject); cmdLine.execute("--group", "group", "--option", "option"); cmdLine.execute(); assertNull(userObject.option, "Expected option to be...

type: bug :bug:
theme: arg-group
theme: parser

For options defined in an ArgGroup, a call to OptionSpec.getValue() will fail due to a NullPointerException if none of the options contained in the ArgGroup have been specified on the...

Fixes #1754 - Both positional params and option candidates are now stored in the autocomplete script as an array. - By setting `IFS=$'\n'` for those scenarios, each array entry is...

When an option provides a `completionProvider` that list strings with spaces, the autocomplete doesn't honor the completion provider, but instead splits all options on its own. For instance, given the...

type: bug :bug:
theme: auto-completion

Given a command with arity > 1 (and not a file / path type), autcomplete will only work for the first value. Given the code: ```java @Command(mixinStandardHelpOptions = true) public...

theme: auto-completion
status: help-wanted 🆘
theme: codegen

I'm not getting the exclusivity groups for inherited options. I've got a very simple use case: I want a user to indicate `--quiet` or `--verbose`, both optional, but mutually exclusive....

type: enhancement :sparkles:
theme: arg-group

I a using `mixinStandardHelpOptions` with a command and subcommands. This is really convenient. The issue I have is that this mixin adds a version option with default names defined as...

type: enhancement :sparkles:
type: doc :blue_book:
status: help-wanted 🆘
theme: usagehelp

Discussion in #1718 showed that it may be useful if the API for each xxSpec class (CommandSpec, OptionSpec, ArgGroupSpec, etc) had a `getAnnotatedElement` method that would return the [`IAnnotatedElement`](https://picocli.info/apidocs-all/info.picocli/picocli/CommandLine.Model.IAnnotatedElement.html) for...

type: enhancement :sparkles:
type: API :electric_plug:
theme: annotation-proc

I have a CLI that takes a path as a parameter, e.g. `foo do C:\temp`. I just decided to allow multiple files/directories, so I changed the parameter to: ``` @Parameters(paramLabel...

status: duplicate 👨🏻‍🤝‍👨🏻