-
Notifications
You must be signed in to change notification settings - Fork 440
Open
Labels
theme: auto-completionAn issue or change related to auto-completionAn issue or change related to auto-completiontheme: integrationAn issue or change related to integration with other frameworks, shells or operating systemsAn issue or change related to integration with other frameworks, shells or operating systemstheme: shellAn issue or change related to interactive (JLine) applicationsAn issue or change related to interactive (JLine) applications
Milestone
Description
Is it possible to have an file path autocomplete using picocli in an interactive shell with JLine3 (or another component)
For example let say I've a command
@Command
public void myCommand(@Parameter File myFile){
out.println(myFile.getAbsolutePath());
}
when I try to use picocli and JLine3 I get autocompletion for "myCommand" but I haven't any for filling the parameter path
so
>myApp myC<TAB>
complete well to
>myApp myCommand
but for example
>myApp myCommand /etc/apa<TAB>
didn't complete to
>myApp myCommand /etc/apache2
It will be really great to b able to archive this (perhaps did I miss something wile reading the doc and samples but I didn't figure out how to obtain this result)
Just in case my OS is Ubuntu
clarkhan
Metadata
Metadata
Assignees
Labels
theme: auto-completionAn issue or change related to auto-completionAn issue or change related to auto-completiontheme: integrationAn issue or change related to integration with other frameworks, shells or operating systemsAn issue or change related to integration with other frameworks, shells or operating systemstheme: shellAn issue or change related to interactive (JLine) applicationsAn issue or change related to interactive (JLine) applications