clap/tests
Marti Raudsepp 64ee0f8009 Add hinting of arg value types for zsh/fish completion
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.
2020-08-06 22:17:31 +03:00
..
fixtures Add hinting of arg value types for zsh/fish completion 2020-08-06 22:17:31 +03:00
app_from_crate.rs style: rename ErrorKind::{VersionDisplayed, HelpDisplayed} to present tense 2020-07-20 10:27:07 +09:00
app_settings.rs Fix various typos in docs & code 2020-07-19 03:10:28 +03:00
arg_aliases.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
arg_aliases_short.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
borrowed.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
cargo.rs style: rename ErrorKind::{VersionDisplayed, HelpDisplayed} to present tense 2020-07-20 10:27:07 +09:00
conflicts.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
default_missing_vals.rs tests ~ add tests for new 'default_missing_value' configuration option 2020-05-21 13:06:45 -05:00
default_vals.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
delimiters.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
derive_order.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
env.rs Make sure that command line OVERRIDES env, not prepends (fix #1835) 2020-04-22 11:35:20 +03:00
flag_subcommands.rs Fix various typos in docs & code 2020-07-19 03:10:28 +03:00
flags.rs Turn some integration tests into unit tests 2020-03-19 10:49:49 +03:00
global_args.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
groups.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
help.rs style: rename ErrorKind::{VersionDisplayed, HelpDisplayed} to present tense 2020-07-20 10:27:07 +09:00
hidden_args.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
indices.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
macros.rs Merge #2019 2020-07-19 10:28:03 +00:00
multiple_occurrences.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
multiple_values.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
opts.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
positionals.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
posix_compatible.rs Fix various typos in docs & code 2020-07-19 03:10:28 +03:00
possible_values.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
propagate_globals.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
require.rs fix test 2020-05-15 08:25:01 -07:00
subcommands.rs style: rename ErrorKind::{VersionDisplayed, HelpDisplayed} to present tense 2020-07-20 10:27:07 +09:00
template_help.rs Put the test helper in tests 2020-02-04 09:51:46 +01:00
tests.rs Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02:00
unique_args.rs Fix warnings 2020-05-31 17:53:24 +03:00
utf8.rs Put the test helper in tests 2020-02-04 09:51:46 +01:00
utf16.rs add tests for invalid UTF-16 on Windows 2020-05-05 18:18:30 -04:00
utils.rs Fix various typos in docs & code 2020-07-19 03:10:28 +03:00
validators.rs tests(validators): Add tests for clap_app! macro and FromStr trait 2020-07-18 17:47:11 +02:00
version-numbers.rs Remove #[macro_use] from tests 2020-02-03 12:01:36 -05:00
version.rs style: rename ErrorKind::{VersionDisplayed, HelpDisplayed} to present tense 2020-07-20 10:27:07 +09:00
yaml.rs Add hinting of arg value types for zsh/fish completion 2020-08-06 22:17:31 +03:00