lsd-rs/lsd

mention shell completions usage in `README.md`

开放

#853 创建于 2023年6月5日

 (3 条评论) (0 个反应) (0 位负责人)Rust (434 个派生)batch import
good first issuehelp wantedkind/doc

仓库指标

星标
 (13,400 个星标)
PR 合并指标
 (平均合并 34天 3小时) (30 天内合并 2 个 PR)

描述

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.

贡献者指南