Crates.io | clap_autocomplete |
lib.rs | clap_autocomplete |
version | 0.4.2 |
source | src |
created_at | 2022-03-13 11:18:05.423459 |
updated_at | 2024-10-21 18:06:08.833557 |
description | Easy to integrate shell completion for Clap. Finds the user's shell and puts completion files in the appropriate locations. |
homepage | https://github.com/Icelk/clap_autocomplete |
repository | https://github.com/Icelk/clap_autocomplete |
max_upload_size | |
id | 549164 |
size | 23,405 |
Easy to integrate shell completion for Clap. Finds the user's shell and puts completion files in the appropriate locations.
A library which adds a subcommand to your command. It also checks the matches and returns whether or not the operation succeeded.
This supports the same shells as clap_complete.
It however only supports placing the completion files for Fish, Bash, and Zsh. If the user is using any other shell, they will have to pipe the output into a file.
Documentation for releases can be found on docs.rs. Main branch documentation is found on doc.icelk.dev.
query-shell
dependency.rayon
, which was included as part of sysinfo
in the old shell fetch crate).stderr
.clap
's default features (e.g. regex
).Dual-licensed under Apache 2.0 or MIT.