Lines Matching refs:Command
1 use clap::{arg, Arg, ArgAction, Command};
5 let mut cmd = Command::new("myprog")
21 .subcommand(Command::new("outer").subcommand(Command::new("inner")));
29 let m1 = Command::new("foo")
31 Command::new("sub1")
38 .subcommand(Command::new("sub1a")),
56 let m = Command::new("opts")
60 Command::new("test")
63 .subcommand(Command::new("test")),
88 let m = Command::new("opt")
99 .subcommand(Command::new("ping"))
113 let cmd = Command::new("a")
116 Command::new("b")
119 Command::new("c")
121 .subcommand(Command::new("d")),
137 let cmd = Command::new("test")
145 .subcommand(Command::new("sub"));
177 let cmd = Command::new("test")
185 .subcommand(Command::new("sub"));