Add auto completion for loco
and cargo loco
commands
#1229
Labels
enhancement
New feature or request
loco
and cargo loco
commands
#1229
Feature Request
Is your feature request related to a problem? Please describe.
Currently there's no auto completion for CLI commands, and it would've been nice to have them. Especially for more complex commands such as:
Describe the solution you'd like
I'm not sure if it would be possible to auto-generate them on the fly though, since there's a build step for
cargo loco ...
subcommand.Maybe instead we can introduce
loco completions [bash|zsh|fish|nushell|...]
subcommand, that will output statically defined completions for specified shell.Describe alternatives you've considered
Alternatively, all necessary auto completions can be contributed to designated repositories and later linked back in the documentation website somewhere in
Installing
section.Here's my contribution to nushell/nu_scripts#1029, for those who uses
Nushell
.The text was updated successfully, but these errors were encountered: