-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or requestneed helpAny help would be appreciatedAny help would be appreciated
Description
Issues
Like the title said, I want to implement completion capabilities on ws. I started PR #6 for this purpose. Unfortunately
when trying on my Windows 10 laptop, I have two / three problems:
- First, for an unknown reason, when spawning a virtualenv with poetry (my package manager)
shellingham detects the shell ascmd🤨. I guess it is not really important
since when I created a binary wheel and installed it locally, I don't have this issue anymore. - Second, and the real one, the command
install-completioninstalled the completion script, but... nothing happens. 😢 - Also, not sure, it is really important, but it seems like calling
install-completionagain creates a weird error. Not
sure if it is due to my configuration or the fact that I tried to manipulate my user profile to test different setups
and also, in practice there is no need to callinstall-completiontwice if it works correctly.
Alternatives
click-completion
There is a community package click-completion I used to use a few
years ago but seems a little outdated now.
typer
Typer is a great package based on click, but I found it (personal taste may be) not
convenient to extend it with community packages like those of click-contrib.
What's next?
It will be interesting if someone tests my PR on his laptop to see if autocompletion works correctly. Maybe it is just
my shell configuration which has an issue?
But if it does not work on someone else computer, I'll definitely need help because it is not a subject I master.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestneed helpAny help would be appreciatedAny help would be appreciated