Skip to content
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

Support TAB autocomplete #121

Closed
remkop opened this issue May 7, 2017 · 2 comments
Closed

Support TAB autocomplete #121

remkop opened this issue May 7, 2017 · 2 comments

Comments

@remkop
Copy link
Owner

remkop commented May 7, 2017

The bash shell has an autocompletion plugin mechanism.
Let picocli generate a script that enables autocompletion for an annotated class's options and subcommands.

See http://www.tldp.org/LDP/abs/html/tabexpansion.html

https://blog.heckel.xyz/2015/03/24/bash-completion-with-sub-commands-and-dynamic-options/
https://github.com/syncany/syncany/blob/7a15d5f17e1a894de97f05389aaa133d7c0acd95/gradle/bash/syncany.bash-completion

@remkop remkop added this to the backlog milestone May 7, 2017
remkop added a commit that referenced this issue May 21, 2017
remkop added a commit that referenced this issue Jun 19, 2017
remkop added a commit that referenced this issue Jun 19, 2017
…ocomplete

Conflicts:
	src/main/java/picocli/AutoComplete.java
remkop added a commit that referenced this issue Jul 9, 2017
remkop added a commit that referenced this issue Jul 28, 2017
remkop added a commit that referenced this issue Jul 28, 2017
remkop added a commit that referenced this issue Jul 28, 2017
…ocomplete

Conflicts:
	src/main/java/picocli/AutoComplete.java
	src/test/java/picocli/AutoCompleteTest.java
	src/test/resources/script1.bash
remkop added a commit that referenced this issue Jul 30, 2017
…it may be part of a longer path); generate better comments
remkop added a commit that referenced this issue Jul 30, 2017
…(it may be part of a longer path); better comments
remkop added a commit that referenced this issue Jul 30, 2017
remkop added a commit that referenced this issue Aug 2, 2017
remkop added a commit that referenced this issue Aug 2, 2017
remkop added a commit that referenced this issue Aug 2, 2017
…it may be part of a longer path); generate better comments
@remkop remkop removed this from the backlog milestone Aug 6, 2017
remkop added a commit that referenced this issue Aug 7, 2017
remkop added a commit that referenced this issue Aug 7, 2017
remkop added a commit that referenced this issue Aug 8, 2017
remkop added a commit that referenced this issue Aug 8, 2017
remkop added a commit that referenced this issue Aug 12, 2017
remkop added a commit that referenced this issue Aug 12, 2017
remkop added a commit that referenced this issue Aug 12, 2017
remkop added a commit that referenced this issue Aug 23, 2017
remkop added a commit that referenced this issue Aug 24, 2017
@remkop
Copy link
Owner Author

remkop commented Aug 26, 2017

Autocomplete user manual is ready. Closing this ticket.

@remkop remkop closed this as completed Aug 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant