/third_party/rust/crates/clap/tests/derive/ |
D | issues.rs | 19 struct Cli { in issue_151_groups_within_subcommands() struct 24 assert!(Cli::try_parse_from(["test"]).is_err()); in issue_151_groups_within_subcommands() 25 assert!(Cli::try_parse_from(["test", "--foo=v1"]).is_ok()); in issue_151_groups_within_subcommands() 26 assert!(Cli::try_parse_from(["test", "--bar=v2"]).is_ok()); in issue_151_groups_within_subcommands() 27 assert!(Cli::try_parse_from(["test", "--zebra=v3"]).is_err()); in issue_151_groups_within_subcommands() 28 assert!(Cli::try_parse_from(["test", "--foo=v1", "--bar=v2"]).is_ok()); in issue_151_groups_within_subcommands()
|
/third_party/rust/crates/clap/examples/tutorial_derive/ |
D | 04_04_custom.rs | 6 struct Cli { struct 35 let cli = Cli::parse(); in main() argument 45 let mut cmd = Cli::command(); in main() 61 let mut cmd = Cli::command(); in main() 82 let mut cmd = Cli::command(); in main()
|
D | 05_01_assert.rs | 5 struct Cli { struct 11 let cli = Cli::parse(); in main() argument 19 Cli::command().debug_assert() in verify_cli()
|
D | 03_03_positional_mult.rs | 5 struct Cli { struct 10 let cli = Cli::parse(); in main() argument
|
D | 03_03_positional.rs | 5 struct Cli { struct 10 let cli = Cli::parse(); in main() argument
|
D | 03_05_default_values.rs | 5 struct Cli { struct 11 let cli = Cli::parse(); in main() argument
|
D | 03_01_flag_bool.rs | 5 struct Cli { struct 11 let cli = Cli::parse(); in main() argument
|
D | 03_02_option_mult.rs | 5 struct Cli { struct 11 let cli = Cli::parse(); in main() argument
|
D | 03_02_option.rs | 5 struct Cli { struct 11 let cli = Cli::parse(); in main() argument
|
D | 04_02_parse.rs | 5 struct Cli { struct 12 let cli = Cli::parse(); in main() argument
|
D | 03_01_flag_count.rs | 5 struct Cli { struct 11 let cli = Cli::parse(); in main() argument
|
D | 02_crate.rs | 5 struct Cli { struct 13 let cli = Cli::parse(); in main() argument
|
D | 02_app_settings.rs | 6 struct Cli { struct 14 let cli = Cli::parse(); in main() argument
|
D | 02_apps.rs | 8 struct Cli { struct 16 let cli = Cli::parse(); in main() argument
|
D | 03_04_subcommands.rs | 6 struct Cli { struct 18 let cli = Cli::parse(); in main() argument
|
D | 04_01_enum.rs | 5 struct Cli { struct 22 let cli = Cli::parse(); in main() argument
|
D | 03_04_subcommands_alt.rs | 6 struct Cli { struct 23 let cli = Cli::parse(); in main() argument
|
D | 04_02_validate.rs | 7 struct Cli { struct 14 let cli = Cli::parse(); in main() argument
|
D | 01_quick.rs | 7 struct Cli { struct 34 let cli = Cli::parse(); in main() argument
|
D | 04_03_relations.rs | 10 struct Cli { struct 40 let cli = Cli::parse(); in main() argument
|
/third_party/rust/crates/clap/examples/derive_ref/ |
D | interop_tests.md | 112 Cli { 125 Cli { 155 Cli { 169 Cli { 200 Cli { 213 Cli { 226 Cli {
|
D | hand_subcommand.rs | 69 struct Cli { struct 77 let args = Cli::parse(); in main() argument
|
D | flatten_hand_args.rs | 81 struct Cli { struct 89 let args = Cli::parse(); in main() argument
|
/third_party/rust/crates/clap/examples/ |
D | escaped-positional-derive.rs | 5 struct Cli { struct 17 let args = Cli::parse(); in main() argument
|
D | git-derive.rs | 11 struct Cli { struct 101 let args = Cli::parse(); in main()
|