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.

貢獻者指南