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

fix bash tab completion performance issues #6

Closed
jairideout opened this issue Apr 22, 2016 · 1 comment
Closed

fix bash tab completion performance issues #6

jairideout opened this issue Apr 22, 2016 · 1 comment
Assignees

Comments

@jairideout
Copy link
Member

It's really slow right now.

jairideout added a commit to jairideout/q2cli that referenced this issue Apr 22, 2016
Currently **very** slow, track progress on qiime2#6.

Fixes qiime2#5. Also removes context usage in favor of global plugin manager.
@ebolyen
Copy link
Member

ebolyen commented Apr 23, 2016

it is so slow 🐢 🐢

@jairideout jairideout self-assigned this Oct 2, 2016
jairideout added a commit to jairideout/q2cli that referenced this issue Oct 6, 2016
See README.md or run the `qiime` command for instructions on how to enable Bash
tab completion.

Fixes qiime2#6.
jairideout added a commit to jairideout/q2cli that referenced this issue Oct 7, 2016
See README.md or run the `qiime` command for instructions on how to enable Bash
tab completion.

Fixes qiime2#6.
thermokarst pushed a commit that referenced this issue Oct 7, 2016
See README.md or run the qiime command for instructions on how to enable Bash
tab completion.

This is basic tab completion supporting arbitrarily nested subcommands and options. More advanced completion (e.g. completion on .qza files when completing an action's inputs) are planned in the future. This works in a very general way by traversing the command tree structure starting at q2cli.commands.RootCommand and building a bash completion script. No specific knowledge of plugins, actions, or builtin commands is required, so updates to CLI commands should not require updates to the Bash completion code. The CLI cache manages this file so it will always match the latest deployment state. All users need to do is add a simple eval line to their .bashrc/.bash_profile and they are GTG!

Fixes #6.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants