Open bitdivine opened 2 years ago
This is part of our roadmap and will be implemented at some point (hopefully not too far out...).
I'm tackling on it now. For tentative use, you can refer to my samples: https://github.com/ukaznil/dfx-completions Later on, I will think which options we can take to integrate it with this sdk repo.
Motivation
When writing commands, tab completion helps.
Proposed implementation
clap
generates tab completion scripts. Can we use it please?An example of how tab completion is installed in another project: https://rust-lang.github.io/rustup/installation/index.html#enable-tab-completion-for-bash-fish-zsh-or-powershell
generate
butdfx
already uses that for other purposes.dfx completions bash > /usr/share/bash-completion/completions/dkg