lsd-rs/lsd

mention shell completions usage in `README.md`

Ouverte

#853 ouverte le 5 juin 2023

 (3 commentaires) (0 réaction) (0 personne assignée)Rust (434 forks)batch import
good first issuehelp wantedkind/doc

Métriques du dépôt

Stars
 (13 400 étoiles)
Métriques de merge PR
 (Merge moyen 34j 3h) (2 PRs mergées en 30 j)

Description

https://github.com/lsd-rs/lsd/blob/2fe3fcdd3564836962eab8ba6b1444996fe24e1e/build.rs#L24-L36

despite lsd providing shell completions via clap_complete::generate_to, there is no documentation that either SHELL_COMPLETIONS_DIR or OUT_DIR environment variable needs to be set to generate one.

alternatively, LSD could provide a command-line option to generate completions at runtime.

Guide contributeur