-
-
Notifications
You must be signed in to change notification settings - Fork 241
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
[feature] shell completion #1
Comments
Here's a bash completion script. This is my first bash completion script, so maybe there are better way to do this...
|
👍 BTW, did you see this: http://click.pocoo.org/5/bashcomplete/? |
Ah, ok, I was wondering how that pip completion code in my Unfortunately, this is an all-or-nothing-solution, it seems. You can't customize it to support project and tag completion. To implement frame ID completion, the following new watson command would be helpful (in the vein of
|
If it is not useful, then we can switch back to click's built-in completion feature, right? |
No, since that doesn't give completion of projects and tags, AFAICS. |
…ommand. The new `frames` command lists all frame IDs to support command-line completion of frame IDs for `edit` and `remove` command.
You're right! |
…ommand. The new `frames` command lists all frame IDs to support command-line completion of frame IDs for `edit` and `remove` command.
…ommand. The new `frames` command lists all frame IDs to support command-line completion of frame IDs for `edit` and `remove` command.
@SpotlightKid : Did you had the chance to take a look at https://github.com/click-contrib/click-completion ? |
No, I haven't. I wasn't aware of that project. How does it help completing Watson specific objects like project and tags? Anyway, as you know, patches always welcome! :) |
Add completion on commands project names and tags may be useful.
The text was updated successfully, but these errors were encountered: