-
-
Notifications
You must be signed in to change notification settings - Fork 104
Switch to shtab for shell completion #135
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks ok to me, but I'm not a Python expert.
/cc @MasterOdin for checking, I think this one slipped through the net.
Sorry for not reviewing this sooner. I do not have much of an opinion on argcomplete vs shtab, and I've found that both work well on my However, I am not keen on adding a dependency that has a classifier of The usage string not being automated is on purpose, and should not be changed. I've opened #149 to make the usage string a bit simpler to maintain and with explanation on why its manually done instead of leaving it to argparse for automation. |
@MasterOdin I think Feel free to modify this PR (e.g. merge #149 into #135) if you'd like. |
just tagged |
not sure why the 3.5 build is failing - EDIT: ah I see, the way the tests were run they circumvent the |
Testing this out, I get the following error:
I am on macOS 11, using zsh 5.8 and oh-my-zsh. |
@bl-ue just rebased |
ping @MasterOdin — did you forget about this? |
Sorry @casperdcl for not following up here. Will run through with a comparison of shtab and argcomplete again soon. |
Sure, also just released a new |
just rebased & added |
Co-authored-by: Casper da Costa-Luis <[email protected]>
Hm, looks like having flake errors. I think to resolve them, will need to double escape the sequence |
@MasterOdin yes, fixed. |
Sorry it's taken so long to get this merged. I really appreciate your contribution and follow through here to get this merged! |
zsh
automate theclose Set --help usage line to match node client #149usage:
message--help
message