-
Notifications
You must be signed in to change notification settings - Fork 357
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
CLI auto-complete support #1096
Comments
I ended up here because of this. 😄 I can take a look at this. This can be done in the same way Here is how Archlinux distributes shell completions for Rustup.
|
This should be easy to do with clap 3.x. |
My changes for Modelator are at informalsystems/modelator@0aa7d41. I feel |
I think we need to approach this by way of #1752, when we can start using clap 3.0 stable. |
@rnbguy Any chance to get the |
I was a bit out of date and I see how that informalsystems/modelator#163 has been merged. The question then turns into "when is the next release?" |
I will do a patch release at the end of the day :) |
modelator |
Crate
ibc-relayer-cli
Summary
Add auto-complete support using a rust crate (
clap
/gumdrop
) that can automatically generate the completions file (see Clap::gen_completions()).Acceptance Criteria
We should be able to achieve something like this ->
The hermes documentation and README.md should provide instructions for setting this up. Also, installers/packages should be updated to include and source the completions file.
For Admin Use
The text was updated successfully, but these errors were encountered: