Crate completion

source ·
Expand description

Example to test arguments with different ValueHint values.

Usage with zsh:

cargo run --example value_hints -- --generate=zsh > /usr/local/share/zsh/site-functions/_value_hints
compinit
./target/debug/examples/value_hints --<TAB>

fish:

cargo run --example value_hints -- --generate=fish > value_hints.fish
. ./value_hints.fish
./target/debug/examples/value_hints --<TAB>