feature: add "dynamic" counterpart to completionCandidates #2197
alexanderankin
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
|
Yes, I am open to that. Actually I believe there's an older ticket where this idea was explored to some extent. The idea was that a subcommand could generate completions. This was before the GraalVM support was added and at the time it wasn't pursued in depth. I'll try to find that ticket later when I get a chance. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Please see the discussion in this ticket: #506 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
what if instead of being evaluated at "generate-completions" time, and having the value of the iterable be hardcoded into the bash completion function, but rather the picocli framework would invoke the command and retrieve dynamic values. This is a significant performance tradeoff but may be worth it for some users.
Would like to know if a pr for this would be welcome.
Beta Was this translation helpful? Give feedback.
All reactions