mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52:33 +00:00
5580e8c465
* feat(arg_value): ArgValue can be used for possible_values Through the ArgValue it is possible: * `hide` possible_values from showing in completion, help and validation * add `about` to possible_values in completion * Resolved a few change-requests by epage * make clippy happy * add ArgValue::get_visible_value * remove verbose destructering * rename ArgValue::get_hidden to ArgValue::is_hidden * add test for help output of hidden ArgValues * Documentation for ArgValue There is an issue that required to implement From<&ArgValue> for ArgValue. We should probably find a solution without that. * fix requested changes by epage * fix formatting * add deref in possible_values call to remove From<&&str> * make clippy happy * use copied() instad of map(|v|*v) * Finishing up for merge, hopefully * changes requested by pksunkara |
||
---|---|---|
.. | ||
01a_quick_example.rs | ||
01b_quick_example.rs | ||
01c_quick_example.rs | ||
02_apps.rs | ||
03_args.rs | ||
04_using_matches.rs | ||
05_flag_args.rs | ||
06_positional_args.rs | ||
07_option_args.rs | ||
08_subcommands.rs | ||
09_auto_version.rs | ||
10_default_values.rs | ||
11_only_specific_values.rs | ||
12_typed_values.rs | ||
13_enum_values.rs | ||
14_groups.rs | ||
15_custom_validator.rs | ||
16_app_settings.rs | ||
17_yaml.rs | ||
17_yaml.yaml | ||
18_builder_macro.rs | ||
19_auto_authors.rs | ||
20_subcommands.rs | ||
21_aliases.rs | ||
22_stop_parsing_with_--.rs | ||
23_flag_subcommands_pacman.rs |