Conversation
Pull Request Test Coverage Report for Build 21858546890Details
💛 - Coveralls |
AmosOO7
left a comment
There was a problem hiding this comment.
Hello @va-an , nice work on this. I tested and it worked fine on my end.
I left a comment on some part in the command.rs file that I think should be moved to the README.md file.
Also I had to create the folders bash-completion, and completions in ~/.local/share I don't know if this is peculiar to my case, but maybe it is something you can add in the readme file also to mkdir this folders so the command bdk-cli completions bash > ~/.local/share/bash-completion/completions/bdk-cli runs smoothly and for any other commands that might need it.
Thank you for catching this! |
Description
Resolves #234.
Added
completionssubcommand to generate shell completions.How to test
Install bdk-cli:
cargo install --path . --all-featuresSee how to install completions for your shell:
For example, to install completions for zsh:
After restarting the shell, completions should work with Tab.
Checklists
All Submissions:
cargo fmtandcargo clippybefore committingNew Features:
CHANGELOG.md