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

shell completion #227

Closed
cs01 opened this issue Aug 4, 2019 · 3 comments · Fixed by #228
Closed

shell completion #227

cs01 opened this issue Aug 4, 2019 · 3 comments · Fixed by #228

Comments

@cs01
Copy link
Contributor

cs01 commented Aug 4, 2019

How would this feature be useful?

More efficient cli usage. Would autocomplete session names so nox -l doesn't have to be typed, and session names don't have to be fully typed out.

Describe the solution you'd like

Since nox uses argparse, it can use argcomplete to add tab completion functionality. https://github.com/kislyuk/argcomplete

I just added this to pipx (pypa/pipx#182) and I find it is helpful when completing package names. It was very easy to add (argcomplete is awesome!). In nox's case it would be really helpful to auto-complete session names.

@theacodes
Copy link
Collaborator

I would love to see this implemented.

@cs01
Copy link
Contributor Author

cs01 commented Aug 4, 2019

I can give it a shot.

@theacodes
Copy link
Collaborator

I've marked this issue with open collective eligible which means that if someone takes this on we can pay them for the work via our Open Collective.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants