Lines Matching refs:Arg

3 use clap::{arg, builder::PossibleValue, error::ErrorKind, Arg, ArgAction, ArgGroup, Command};
107 .arg(Arg::new("FIRST").help("First").num_args(1..).required(true))
109 Arg::new("SECOND")
138 Arg::new("verbose")
145 Arg::new("timeout")
152 Arg::new("frequency")
159 Arg::new("binary path")
164 Arg::new("pass through args")
370 Arg::new("all")
377 Arg::new("exact")
383 Arg::new("no_git_commit")
389 Arg::new("no_git_push")
416 Arg::new("all")
423 Arg::new("exact")
429 Arg::new("no_git_commit")
435 Arg::new("no_git_push")
475 Arg::new("possible_values")
485 Arg::new("possible_values_with_new_line")
496 Arg::new("possible_values_without_new_line")
550 Arg::new("cafe")
582 Arg::new("pos")
591 Arg::new("cafe")
608 Arg::new("pos")
621 Arg::new("cafe")
656 Arg::new("pos")
669 Arg::new("cafe")
691 Arg::new("pos")
726 .arg(Arg::new("cafe")
744 .arg(Arg::new("cafe")
794 .arg(Arg::new("mode").help(
823 .arg(Arg::new("mode").help(
837 Arg::new("force-non-host")
871 Arg::new("mode")
882 Arg::new("mode")
910 .arg(Arg::new("filter")
921 .arg(Arg::new("filter")
932 .arg(Arg::new("filter")
963 .arg(Arg::new("arg1").help("some option"))
965 Arg::new("arg2")
971 Arg::new("some")
978 Arg::new("other")
985 Arg::new("label")
1023 .arg(Arg::new("arg1").help("some option"));
1131 .arg(Arg::new("PATH").help("help"))
1152 .arg(Arg::new("pos").hide(true));
1181 .arg(Arg::new("PATH").help("help"))
1205 .arg(Arg::new("PATH").help("some"))
1298 .arg(Arg::new("help").short('?').action(ArgAction::SetTrue))
1307 .arg(Arg::new("home").short('h').action(ArgAction::SetTrue))
1317 Arg::new("custom-help")
1341 .arg(Arg::new("TARGET").required(true).help("some"))
1342 .arg(Arg::new("CORPUS").help("some"))
1344 Arg::new("ARGS")
1370 .arg(Arg::new("TARGET").required(true).help("some"))
1371 .arg(Arg::new("CORPUS").help("some"))
1373 Arg::new("ARGS")
1406 .arg(Arg::new("TARGET").required(true).help("some"))
1407 .arg(Arg::new("CORPUS").help("some"))
1409 Arg::new("ARGS")
1443 .arg(Arg::new("TARGET").required(true).help("some"))
1444 .arg(Arg::new("CORPUS").help("some"))
1446 Arg::new("ARGS")
1468 Arg::new("argument")
1477 Arg::new("argument")
1499 Arg::new("argument")
1513 Arg::new("help1")
1521 Arg::new("help1")
1632 Arg::new("no-proxy")
1638 .args([Arg::new("port").long("port").action(ArgAction::SetTrue)]);
1681 Arg::new("no-proxy")
1702 Arg::new("server-addr")
1710 Arg::new("speed")
1746 Arg::new("no-proxy")
1766 Arg::new("server-addr")
1836 .arg(Arg::new("foo").short('f').action(ArgAction::SetTrue))
1838 Arg::new("baz")
1844 Arg::new("files")
1868 .arg(Arg::new("arg1")
1870 .arg(Arg::new("arg2")
1884 .arg(Arg::new("foo"))
1894 .arg(Arg::new("foo"))
1906 .arg(Arg::new("foo"))
1907 .arg(Arg::new("bar").help("It does bar stuff"))
1917 .arg(Arg::new("foo").help("It does foo stuff"))
1920 .arg(Arg::new("create").help("creates bar"))
1921 .arg(Arg::new("delete")),
1933 .arg(Arg::new("foo").help("It does foo stuff"))
1936 .arg(Arg::new("create").help("creates bar"))
1937 .arg(Arg::new("delete")),
1947 .arg(Arg::new("foo").help("It does foo stuff"))
1950 .arg(Arg::new("create").help("creates bar"))
1951 .arg(Arg::new("delete").help("deletes bar")),
1961 .arg(Arg::new("foo").help("It does foo stuff"))
1991 Arg::new("cfg")
2078 Arg::new("someglobal")
2101 Arg::new("someglobal")
2127 Arg::new("someglobal")
2150 Arg::new("someglobal")
2177 Arg::new("a").short('a').action(ArgAction::SetTrue),
2178 Arg::new("B").short('B').action(ArgAction::SetTrue),
2179 Arg::new("b").short('b').action(ArgAction::SetTrue),
2180 Arg::new("save").short('s').action(ArgAction::SetTrue),
2181 Arg::new("select_file")
2184 Arg::new("select_folder")
2187 Arg::new("x").short('x').action(ArgAction::SetTrue),
2237 Arg::new("option1")
2241 .arg(Arg::new("pos1").action(ArgAction::Set))
2247 .arg(Arg::new("pos2").action(ArgAction::Set));
2270 .arg(Arg::new("gear").help("Which gear"))
2272 .arg(Arg::new("speed").help("How fast"));
2312 .arg(Arg::new("speed").help("How fast"));
2320 .arg(Arg::new("some_arg").long("some_arg").num_args(2))
2322 Arg::new("some_arg_issue")
2346 .arg(Arg::new("arg1"))
2347 .arg(Arg::new("arg2").required(true));
2369 .arg(Arg::new("foo"))
2370 .arg(Arg::new("bar"))
2371 .arg(Arg::new("baz").action(ArgAction::Set).num_args(1..));
2393 Arg::new("foo")
2414 Arg::new("foo")
2439 Arg::new("foo")
2461 Arg::new("foo")
2487 Arg::new("foo")
2513 Arg::new("foo")
2554 .subcommand(Command::new("help").arg(Arg::new("arg").action(ArgAction::Set)))
2555 .subcommand(Command::new("not_help").arg(Arg::new("arg").action(ArgAction::Set)))
2683 .arg(Arg::new("TARGET").required(true).help("some"))
2685 Arg::new("ARGS")
2706 .arg(Arg::new("TARGET").required(true).help("some"))
2708 Arg::new("ARGS")
2729 .arg(Arg::new("TARGET").required(true).help("some"))
2731 Arg::new("ARGS")