mirror of
https://github.com/clap-rs/clap
synced 2024-11-10 06:44:16 +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" |
||
---|---|---|
.. | ||
snapshots | ||
testsuite | ||
examples.rs |