Remko Popma

Results 39 issues of Remko Popma

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

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:

[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

Related to https://github.com/remkop/picocli/issues/794: The topological sorting introduced in #794 results in a different sorting of subgroups within a parent group, so the model created at compile time by the annotation...

type: enhancement :sparkles:
theme: annotation-proc

This is a follow-up ticket to #22 (get command descriptions from a resource bundle). It should be possible to display localized error messages when the user provided invalid input.

type: enhancement :sparkles:

### Discussed in https://github.com/remkop/picocli/discussions/1668 Originally posted by **bartweber** April 28, 2022 A subcommand defined by a method needs to throw a `ParameterException`. The `ParameterException` expects `CommandLine` as the first argument....

type: enhancement :sparkles:
type: API :electric_plug:

As suggested by @rileynull in https://github.com/remkop/picocli/issues/236#issuecomment-1105308193, the [example showing how to get version information from the manifest](https://github.com/remkop/picocli/blob/main/picocli-examples/src/main/java/picocli/examples/VersionProviderDemo2.java) may be overly convoluted. TODO: Experiment with this and update the docs if...

type: enhancement :sparkles:
type: doc :blue_book: