Lines Matching refs:Command
1 use clap::{arg, error::ErrorKind, Arg, ArgAction, Command};
5 let r = Command::new("onlypos")
20 let r = Command::new("compiletest")
42 let r = Command::new("positional")
59 let m = Command::new("positional")
78 let r = Command::new("opts")
118 let r = Command::new("positional_multiple")
142 let r = Command::new("positional_multiple")
166 let result = Command::new("positional_multiple")
176 let r = Command::new("positional_possible_values")
197 let _ = Command::new("test")
205 let _ = Command::new("test")
213 let mut cmd = Command::new("test").arg(arg!([FILE] "some file"));
219 let mut cmd = Command::new("test").arg(arg!([FILE]... "some file"));
225 let mut cmd = Command::new("test")
237 let mut cmd = Command::new("test")
248 let mut cmd = Command::new("test").arg(arg!(<FILE> "some file"));
258 let _ = Command::new("test")
266 let r = Command::new("test")
276 let r = Command::new("test")
294 let r = Command::new("test")
305 let r = Command::new("test")
317 use clap::{Arg, Command};
319 let _ = Command::new("test")
328 use clap::{Arg, Command};
330 let _ = Command::new("test")
337 let cmd = clap::Command::new("foo")