Lines Matching refs:Command

2 use clap::{arg, error::ErrorKind, Arg, ArgAction, ArgGroup, Command};
9 let result = Command::new("flag_required")
20 let m = Command::new("flag_required")
35 let result = Command::new("option_required")
46 let m = Command::new("option_required")
62 let result = Command::new("positional_required")
72 let m = Command::new("positional_required")
96 let cmd = Command::new("positional_required")
116 let cmd = Command::new("positional_required")
137 let cmd = Command::new("positional_required")
148 let result = Command::new("group_required")
161 let m = Command::new("group_required")
175 let m = Command::new("group_required")
189 let result = Command::new("arg_require_group")
202 let res = Command::new("arg_require_group")
221 let res = Command::new("arg_require_group")
242 let m = Command::new("test")
265 let res = Command::new("unlesstest")
283 let res = Command::new("unlesstest")
299 let res = Command::new("unlesstest")
318 let res = Command::new("unlessall")
338 let res = Command::new("unlessall")
357 let res = Command::new("unlessone")
378 let res = Command::new("unlessone")
398 let res = Command::new("unlessone")
419 let res = Command::new("unlessone")
440 let res = Command::new("unlessone")
456 let res = Command::new("unlessone")
477 let res = Command::new("unlessone")
497 let res = Command::new("unlessone")
533 let res = Command::new("unlessone")
549 let res = Command::new("unlessone")
566 let res = Command::new("unlessone")
582 let res = Command::new("unlessone")
599 let res = Command::new("ri")
614 let res = Command::new("ri")
630 let res = Command::new("ri")
650 let res = Command::new("ri")
671 let res = Command::new("ri")
689 let res = Command::new("ri")
705 let res = Command::new("ri")
722 let res = Command::new("ri")
741 let res = Command::new("ri")
769 let cmd = Command::new("Test cmd")
813 let cmd = Command::new("Test cmd")
847 let res = Command::new("ri")
862 let res = Command::new("ri")
878 let res = Command::new("ri")
895 let res = Command::new("ri")
911 let res = Command::new("ri")
938 let cmd = Command::new("clap-test").version("v1.4.8").arg(
962 let cmd = Command::new("clap-test")
997 let cmd = Command::new("clap-test")
1042 fn issue_1158_app() -> Command {
1043 Command::new("example")
1076 let cmd = Command::new("test")
1138 let cmd = Command::new("test")
1162 let m = Command::new("foo")
1178 let matches = Command::new("foo")
1203 let cmd = Command::new("prog")
1236 #[should_panic = "Command prog: Argument or group 'extra' specified in 'requires*' for 'config' does not exist"]
1238 let _ = Command::new("prog")
1245 #[should_panic = "Command prog: Argument or group 'extra' specified in 'requires*' for 'config' does not exist"]
1247 let _ = Command::new("prog")
1258 #[should_panic = "Command prog: Argument or group 'extra' specified in 'required_if_eq*' for 'config' does not exist"]
1260 let _ = Command::new("prog")
1271 #[should_panic = "Command prog: Argument or group 'extra' specified in 'required_unless*' for 'config' does not exist"]
1273 let _ = Command::new("prog")
1284 let result = Command::new("prog")
1310 let result = Command::new("prog")
1336 let result = Command::new("prog")
1358 let result = Command::new("prog")
1384 let result = Command::new("prog")
1410 let result = Command::new("prog")
1420 let result = Command::new("prog")
1435 let cmd = Command::new("Clap-created-USAGE-string-bug")
1462 let cmd = Command::new("test")