• Home
  • Raw
  • Download

Lines Matching refs:ArgGroup

1 use clap::{arg, error::ErrorKind, Arg, ArgAction, ArgGroup, Command, Id};
10 .group(ArgGroup::new("req").args(["flag", "color"]).required(true)) in required_group_missing_arg()
24 .group(ArgGroup::new("req").args(["flg", "color"]).required(true)) in non_existing_arg()
35 .group(ArgGroup::new("req").args(["flag"]).required(true)) in unique_group_name()
36 .group(ArgGroup::new("req").args(["color"]).required(true)) in unique_group_name()
55 .group(ArgGroup::new("a")) in arg_group_new_of_arg_name()
64 .group(ArgGroup::new("grp").args(["hostname", "color"])) in group_single_value()
79 .group(ArgGroup::new("grp").args(["hostname", "color", "flag"])) in group_empty()
95 ArgGroup::new("grp") in group_required_flags_empty()
111 .group(ArgGroup::new("grp").args(["hostname", "color", "flag"])) in group_multi_value_single_arg()
124 .group(ArgGroup::new("vers").required(true)) in empty_group()
148 ArgGroup::new("base_or_delete") in req_group_usage_string()
173 ArgGroup::new("base_or_delete") in req_group_with_conflict_usage_string()
203 ArgGroup::new("all_or_delete") in req_group_with_conflict_usage_string_only_options()
221 ArgGroup::new("req") in required_group_multiple_args()
245 .group(ArgGroup::new("req").args(["flag", "color"])) in group_multiple_args_error()
257 .group(ArgGroup::new("group").args(["foo", "bar"]).required(true)); in group_overrides_required()
278 .group(ArgGroup::new("group").arg("a").required(true)); in group_usage_use_val_name()
316 .group(ArgGroup::new("all").multiple(true)) in conflict_with_overlapping_group_in_error()
336 .group(ArgGroup::new("all").multiple(true)) in requires_group_with_overlapping_group_in_error()
337 .group(ArgGroup::new("input").required(true)) in requires_group_with_overlapping_group_in_error()