Closed whophil closed 3 years ago
That’s not the only problem. The shell completion code has also been reworked in a way that breaks click-shell
.
I’ve submitted PR #31 to fix both problems.
I don’t like doing that, but… in light of the lack of any reaction from the original developer, and because click-shell
is currently completely unusable with Click 8, I’ve forked this project and released a 2.1.0 version with Click 8 support.
The fork is available on PyPI under the name incenp.click-shell
. It is used in exactly the same way as the original click-shell
, simply import with from incenp.click_shell import shell
instead of from click_shell import shell
.
I plan to maintain that fork until/unless development of click-shell
resumes.
(Full disclosure: I contacted Clark Perkins privately to let him know I was considering to fork. I got no reply.)
Thanks for upgrade
@gouttegd thank you! this is awesome. We're going to be using incenp.click-shell
in our project until click-shell
is updated. Let me know if I can help to maintain it.
@daviddavis Thanks. I am still hoping that development will resume here and that my fork will be short-lived, but we’ll see. If you do have ideas for improvements or even pull requests, don’t hesitate to submit them to the forked repo.
Hi all, apologies for the delay - I'm going to try to get a new version out over the next couple of days.
click-shell 2.1 has been released to pypi! It was working with click 8 for my basic tests, but please comment back here or open a new issue if you run into any problems.
There is an ImportError when decorating a function with
@shell()
using click 8.click._compat
seems to have been reworked andraw_input
is no longer available.This is with
click-shell==2.0
andclick==8.0.0