[x] I have added documentation regarding my changes where necessary
[x] Any pre-existing tests continue to pass
[x] Additional tests were made covering my changes
Types of Changes
[ ] Bugfix (change that fixes an issue)
[x] New Feature (change that adds functionality)
[ ] Documentation Update (if none of the other choices apply)
Proposed Changes
Fixes issues with using click's shell completion including dynamically completing any known URI's.
I've included a pre-compiled completion script that can be added to a user's .bashrc file. I'm not sure if we want to do this, but it seems to be the same on the platforms I've tested with (git bash on windows and ubuntu using WSL).
Note: The alias tab completion doesn't work for --launch in env and activate because it requires resolving the URI first. However --launch is an option and the URI is an argument and click resolves options before arguments.
Checklist
Types of Changes
Proposed Changes
Fixes issues with using click's shell completion including dynamically completing any known URI's.
I've included a pre-compiled completion script that can be added to a user's .bashrc file. I'm not sure if we want to do this, but it seems to be the same on the platforms I've tested with (git bash on windows and ubuntu using WSL).
Note: The alias tab completion doesn't work for
--launch
inenv
andactivate
because it requires resolving the URI first. However--launch
is an option and the URI is an argument and click resolves options before arguments.