clap/examples
Kevin K 0cc2f69839 feat(arg): allow other types besides Vec for multiple value settings
Breaking Change

Instead of requiring a Vec<&str> for various Arg::*_all() and
Arg::possible_values() methods this
commit now requires a generic IntoIterator<Item=AsRef<str>> which allows
things such as constant arrays. This change requires that any
Arg::*_all() methods be changed from vec!["val", "val"] -> let vals =
["val", "val"]; some_arg.possible_values(&vals) (or vals.iter()).

Closes #87
2015-04-29 17:52:13 -04:00
..
01a_QuickExample.rs docs(examples): add examples for value_t! and value_t_or_exit! macros 2015-04-14 15:37:21 -04:00
01b_QuickExample.rs docs(clap): improve examples and documentation as well as include new from_usage() features 2015-04-13 22:18:50 -04:00
02_Apps.rs docs(clap): improve examples and documentation as well as include new from_usage() features 2015-04-13 22:18:50 -04:00
03_Args.rs docs(clap): improve examples and documentation as well as include new from_usage() features 2015-04-13 22:18:50 -04:00
04_UsingMatches.rs docs(clap): improve examples and documentation as well as include new from_usage() features 2015-04-13 22:18:50 -04:00
05_FlagArgs.rs docs(clap): improve examples and documentation as well as include new from_usage() features 2015-04-13 22:18:50 -04:00
06_PositionalArgs.rs docs(clap): improve examples and documentation as well as include new from_usage() features 2015-04-13 22:18:50 -04:00
07_OptionArgs.rs docs(clap): improve examples and documentation as well as include new from_usage() features 2015-04-13 22:18:50 -04:00
08_SubCommands.rs docs(clap): improve examples and documentation as well as include new from_usage() features 2015-04-13 22:18:50 -04:00
09_AutoVersion.rs feat(macros.rs): add macro to get version from Cargo.toml 2015-04-19 14:22:03 -04:00
10_DefaultValues.rs docs(clap): improve examples and documentation as well as include new from_usage() features 2015-04-13 22:18:50 -04:00
11_OnlySpecificValues.rs feat(arg): allow other types besides Vec for multiple value settings 2015-04-29 17:52:13 -04:00
12_TypedValues.rs docs(clap): fix typo core->std 2015-04-16 12:53:05 -04:00
13a_EnumValuesAutomatic.rs feat(arg): allow other types besides Vec for multiple value settings 2015-04-29 17:52:13 -04:00
13b_EnumValuesManual.rs feat(arg): allow other types besides Vec for multiple value settings 2015-04-29 17:52:13 -04:00
14_Groups.rs docs(groups): adds examples of ArgGroup usage 2015-04-27 23:18:58 -04:00