mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 23:02:31 +00:00
5000d58f38
Let's generate autocompletions for aliased subcommands. $ source before.zsh $ clap-test [TAB] <- gives me "foo bar --" $ clap-test foo [TAB] <- gives me "--my-flag" $ clap-test bar [TAB] <- no reaction $ source after.zsh $ clap-test [TAB] <- gives me "foo bar --" $ clap-test foo [TAB] <- gives me "--my-flag" $ clap-test bar [TAB] <- gives me "--my-flag" |
||
---|---|---|
.. | ||
mod.rs | ||
utils.rs |