mirror of
https://github.com/clap-rs/clap
synced 2024-11-14 16:47:21 +00:00
64ee0f8009
Adds new method/attribute `Arg::value_hint`, taking a `ValueHint` enum as argument. The hint can denote accepted values, for example: paths, usernames, hostnames, commands, etc. This initial implementation supports hints for the zsh and fish completion generators, support for other shells can be added later. |
||
---|---|---|
.. | ||
completions.rs | ||
value_hints.rs | ||
version-numbers.rs |