lewoudar / ws

The simplest websocket cli
https://pyws.readthedocs.io/en/latest/
Apache License 2.0
58 stars 1 forks source link

Completion support for commands and options in PowerShell and PowerCore #7

Open lewoudar opened 1 year ago

lewoudar commented 1 year ago

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:

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.

Zedai00 commented 6 months ago

Okay I've tried installing using pip install and the completion doesn't work