lsd-rs/lsd

mention shell completions usage in `README.md`

オープン

#853 opened on 2023/06/05

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (434 件のフォーク)batch import
good first issuehelp wantedkind/doc

Repository metrics

Stars
 (13,400 個のスター)
PR merge metrics
 (平均マージ 34d 3h) (30d で 2 merged PRs)

説明

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.

コントリビューターガイド