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
CLI: Auto complete for all the arguments #103
Comments
Is this possible? I thought that tocc would not be executed until after you have typed the whole command line and hit enter. Before that, isn't the shell running, which knows nothing about tocc? Is there something I don't understand here? |
Upon investigation: yes, it can be done. It is done in bash, using bash auto-completion. See http://tldp.org/LDP/abs/html/tabexpansion.html |
(-: Should I assign this to you? Are you going to work on it? |
On 1/12/2015 1:03 PM, Aidin Gharibnavaz wrote:
|
There can be auto-complete for all the arguments of CLI. For example, when I write
tocc --tag
and press the tab, it complete the command totocc --tags-statistics
.It can also be more smarter. Have you seen
git
auto-complete? If you typegit checkout iss
and press tab, it will complete togit checkout issue12
(assume that you have aissue12
branch).Tocc's CLI can auto-complete things like tags, for example when I write
tocc --query tag=bo
and press double tab, it can list all available tags started withbo
.The text was updated successfully, but these errors were encountered: