clap-rs / clap

A full featured, fast Command Line Argument Parser for Rust
docs.rs/clap
Apache License 2.0
13.65k stars 1.02k forks source link

feat(complete): support command alias completions #5412

Closed nasso closed 4 weeks ago

nasso commented 3 months ago

Fixes #4265

first time contributor here! this is probably very naive!

this might be a good temporary "hack" while we wait for #3951 and #3166. if that's a problem maybe a feature flag can be introduced, because tools with a lot of very common aliases (like jj) barely get any completion support right now