Autocompletion for options with `split=...`
rsenden opened this issue · comments
Suppose I have an option like the following:
@Option(names = "--opt", required = false, split = ",")
@Getter private SomeEnum[] values;
public static enum MyEnum { myOpt, otherOpt, someOpt }
This would allow users to enter something like this on the command line: --opt myOpt,someOpt
.
However, autocompletion only seems to support a single option value:
--opt my<tab><tab>
generates--opt myOpt
with a trailing space, so you'd need to do a backspace to enter a comma--opt myOpt,<tab><tab>
doesn't show any completion candidates
Any chance that this can be improved, in particular the second item?
Sorry for the late response.
My time to work on picocli is extremely limited.
I can review pull requests but I don't see myself working on this ticket myself in the near future...
@remkop Thanks for the notice, we'll look into finding a solution and raising a PR for this issue as time allows.