-
Notifications
You must be signed in to change notification settings - Fork 418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Picocli 4.6.3 : autocompletion of directory names not working anymore #1644
Comments
Thank you for raising this! |
I finally had some time to look at this. I need to spend more time debugging this. |
Is this reproducible with https://raw.githubusercontent.com/remkop/picocli/master/src/test/resources/picocompletion-demo_completion.bash? |
Sorry I missed your message of September 1. With the provided |
Can you provide a minimal example to reproduce the issue? |
Here are examples (not so minimal sorry) : Examples.zip
To reproduce the problem (with SolifeOdsBatchManager_completion_463) in a directory containing files and directories type (for example a directory
The autocompletion should complete the |
Hi @NewbieOrange, great to hear from you! I believe the #1759 PR is related because it also looks at setting |
@NewbieOrange , here is the completion generated with the #1759 : SolifeOdsBatchManager_completion_1759.zip Unfortunately it doen't work yet with directory names ! |
|
@NewbieOrange , here is the completion generated with the #1863 : SolifeOdsBatchManager_completion_1863.zip The completion of directory names works now ! BUT it is now the commands that doesn't work anymore.
|
@NewbieOrange , it's OK now : completion of commands AND directory names are working! Thanks four your help! |
@NewbieOrange , it's still OK: completion of commands AND directory names are working! |
I'm facing a regression with Picocli 4.6.3 : the autocompletion of filenames doesn't work anymore.
The help of my
OdsManager
app:OdsManager extractLoadOds [-hV] [-p PROPERTIES] [JOBFILE [--maxErrorsByExtraction MAX_ERRORS] [--[no-]cleanBeforeExtract] [-f | -s SINCE]] [[--commitAfter <commitLoadAfter>]
When I enter
OdsManager extractLoadOds
on the command line, with Picocli 4.6.2 hitting the TAB twice I was getting the possibility to autocomplete directory names for the JOBFILE parameter:jo
TAB TAB (for the existingjobs/
directory)... I get no suggestionsThis was working in 4.6.2 but doesn't work anymore in 4.6.3.
The text was updated successfully, but these errors were encountered: