Searched refs:has_subcommand (Results 1 – 6 of 6) sorted by relevance
65 let has_subcommand = gen_has_subcommand(variants)?; in gen_for_enum() localVariable114 fn has_subcommand(__clap_name: &str) -> bool { in gen_for_enum()115 #has_subcommand in gen_for_enum()388 if <#ty as clap::Subcommand>::has_subcommand(__clap_name) { in gen_has_subcommand()519 .map(|__clap_name| <#ty as clap::Subcommand>::has_subcommand(__clap_name)) in gen_from_arg_matches()644 if <#ty as clap::Subcommand>::has_subcommand(__clap_name) { in gen_update_from_arg_matches()
446 …rg_matches.subcommand_name().map(<#subcmd_type as clap::Subcommand>::has_subcommand).unwrap_or(fal… in gen_constructor()
342 fn has_subcommand(name: &str) -> bool; in has_subcommand() method463 fn has_subcommand(name: &str) -> bool { in has_subcommand() method464 <T as Subcommand>::has_subcommand(name) in has_subcommand()
575 assert!(Subcommands::has_subcommand("add")); in skip_subcommand()576 assert!(Subcommands::has_subcommand("remove")); in skip_subcommand()577 assert!(!Subcommands::has_subcommand("skip")); in skip_subcommand()578 assert!(!Subcommands::has_subcommand("other")); in skip_subcommand()
63 fn has_subcommand(name: &str) -> bool { in has_subcommand() method
54 fn has_subcommand(name: &str) -> bool { in subcommand()