Searched refs:find_subcommand_with_path (Results 1 – 2 of 2) sorted by relevance
22 pub fn find_subcommand_with_path<'cmd>(p: &'cmd Command, path: Vec<&str>) -> &'cmd Command { in find_subcommand_with_path() function209 let sc_app = find_subcommand_with_path(&cmd, "test config".split(' ').collect()); in test_find_subcommand_with_path()223 let sc_flags = flags(find_subcommand_with_path(&cmd, vec!["test"])); in test_flags()238 let sc_flags = flags(find_subcommand_with_path(&cmd, vec!["test"])); in test_flag_subcommand()254 let sc_shorts = shorts_and_visible_aliases(find_subcommand_with_path(&cmd, vec!["test"])); in test_shorts()271 let sc_longs = longs_and_visible_aliases(find_subcommand_with_path(&cmd, vec!["test"])); in test_longs()
168 let p = utils::find_subcommand_with_path(cmd, path.split("__").skip(1).collect()); in option_details_for_path()273 let p = utils::find_subcommand_with_path(cmd, path.split("__").skip(1).collect()); in all_options_for_path()