Lines Matching refs:clap
12 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "command", "0"])) in test_single_word_enum_variant_is_default_renamed_into_kebab_case()
25 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "first-command", "0"])) in test_multi_word_enum_variant_is_renamed()
40 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foo-option"])) in test_standalone_long_generates_kebab_case()
54 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foo"])) in test_custom_long_overwrites_default_name()
68 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foo"])) in test_standalone_long_uses_previous_defined_custom_name()
82 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foo-option"])) in test_standalone_long_ignores_afterwards_defined_custom_name()
97 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-f"])) in test_standalone_short_generates_kebab_case()
111 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-o"])) in test_custom_short_overwrites_default_name()
125 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-o"])) in test_standalone_short_uses_previous_defined_custom_name()
139 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-f"])) in test_standalone_short_ignores_afterwards_defined_custom_name()
153 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--FOO_OPTION"])) in test_standalone_long_uses_previous_defined_casing()
167 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-F"])) in test_standalone_short_uses_previous_defined_casing()
182 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--_fOO_oPtiON"])) in test_standalone_long_works_with_verbatim_casing()
196 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-_"])) in test_standalone_short_works_with_verbatim_casing()
211 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--FOO"])) in test_rename_all_is_propagated_from_struct_to_fields()
234 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foo"])) in test_rename_all_is_not_propagated_from_struct_into_flattened()
259 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "command", "--foo"])) in test_rename_all_is_not_propagated_from_struct_into_subcommand()
277 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "FIRST_VARIANT"])) in test_rename_all_is_propagated_from_enum_to_variants_and_their_fields()
282 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "SECOND_VARIANT", "--FOO"])) in test_rename_all_is_propagated_from_enum_to_variants_and_their_fields()
304 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "first-variant", "--foo-option"])) in test_rename_all_is_propagation_can_be_overridden()
309 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "SECOND_VARIANT", "--foo-option"])) in test_rename_all_is_propagation_can_be_overridden()
323 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foooption"])) in test_lower_is_renamed()
337 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--FOOOPTION"])) in test_upper_is_renamed()