MCPcopy Create free account

hub / github.com/clap-rs/clap / functions

Functions3,258 in github.com/clap-rs/clap

Functiontest_fetch
()
tests/derive/nested_subcommands.rs:59
Functiontest_fetch
()
tests/derive/subcommands.rs:44
Functiontest_find_subcommand_with_path
()
clap_complete/src/aot/generator/utils.rs:218
Functiontest_flag_subcommand
()
clap_complete/src/aot/generator/utils.rs:242
Functiontest_flags
()
clap_complete/src/aot/generator/utils.rs:226
Functiontest_from
()
clap_builder/src/builder/arg_group.rs:565
Functiontest_grouped_vals_first
()
clap_builder/src/parser/matches/matched_arg.rs:213
Functiontest_hyphenated_subcommands
This test is specifically to make sure that hyphenated subcommands get processed correctly.
tests/derive/subcommands.rs:101
Functiontest_longs
()
clap_complete/src/aot/generator/utils.rs:274
Functiontest_lower_is_renamed
()
tests/derive/naming.rs:270
Functiontest_multi_args
()
tests/derive/non_literal_attributes.rs:89
Functiontest_multi_args_fail
()
tests/derive/non_literal_attributes.rs:111
Functiontest_multi_word_enum_variant_is_renamed
()
tests/derive/naming.rs:311
Functiontest_no_cmd
()
tests/derive/nested_subcommands.rs:44
Functiontest_no_parse
()
tests/derive/subcommands.rs:82
Functiontest_null_commands
()
tests/derive/subcommands.rs:118
Functiontest_option_vec_vec
()
tests/derive/occurrences.rs:55
Functiontest_option_vec_vec_empty
()
tests/derive/occurrences.rs:71
Functiontest_parse_hex
()
tests/derive/custom_string_parsers.rs:75
Functiontest_parse_hex_function_path
()
tests/derive/non_literal_attributes.rs:134
Functiontest_parser_with_default_value
()
tests/derive/custom_string_parsers.rs:141
Functiontest_path_opt_simple
()
tests/derive/custom_string_parsers.rs:42
Functiontest_rename_all_is_not_propagated_from_struct_into_flattened
()
tests/derive/naming.rs:247
Functiontest_rename_all_is_not_propagated_from_struct_into_subcommand
()
tests/derive/naming.rs:324
Functiontest_rename_all_is_propagated_from_enum_to_variant_fields
()
tests/derive/naming.rs:367
Functiontest_rename_all_is_propagated_from_enum_to_variants
()
tests/derive/naming.rs:349
Functiontest_rename_all_is_propagated_from_struct_to_fields
()
tests/derive/naming.rs:232
Functiontest_rename_all_is_propagation_can_be_overridden
()
tests/derive/naming.rs:387
Functiontest_safely_nest_parser
()
tests/derive/groups.rs:7
Functiontest_shorts
()
clap_complete/src/aot/generator/utils.rs:257
Functiontest_single_word_enum_variant_is_default_renamed_into_kebab_case
()
tests/derive/naming.rs:298
Functiontest_slice
()
tests/derive/non_literal_attributes.rs:49
Functiontest_standalone_long_generates_kebab_case
()
tests/derive/naming.rs:5
Functiontest_standalone_long_ignores_afterwards_defined_custom_id
()
tests/derive/naming.rs:76
Functiontest_standalone_long_ignores_afterwards_defined_custom_name
()
tests/derive/naming.rs:48
Functiontest_standalone_long_uses_previous_defined_casing
()
tests/derive/naming.rs:175
Functiontest_standalone_long_uses_previous_defined_custom_id
()
tests/derive/naming.rs:62
Functiontest_standalone_long_uses_previous_defined_custom_name
()
tests/derive/naming.rs:34
Functiontest_standalone_long_works_with_verbatim_casing
()
tests/derive/naming.rs:203
Functiontest_standalone_short_generates_kebab_case
()
tests/derive/naming.rs:90
Functiontest_standalone_short_ignores_afterwards_defined_custom_id
()
tests/derive/naming.rs:161
Functiontest_standalone_short_ignores_afterwards_defined_custom_name
()
tests/derive/naming.rs:133
Functiontest_standalone_short_uses_previous_defined_casing
()
tests/derive/naming.rs:189
Functiontest_standalone_short_uses_previous_defined_custom_id
()
tests/derive/naming.rs:147
Functiontest_standalone_short_uses_previous_defined_custom_name
()
tests/derive/naming.rs:119
Functiontest_standalone_short_works_with_verbatim_casing
()
tests/derive/naming.rs:218
Functiontest_subcommands
()
clap_complete/src/aot/generator/utils.rs:182
Functiontest_subsubcommand
()
tests/derive/nested_subcommands.rs:135
Functiontest_tuple_commands
()
tests/derive/subcommands.rs:148
Functiontest_upper_is_renamed
()
tests/derive/naming.rs:284
Functiontest_vec_of_vec
()
tests/derive/occurrences.rs:5
Functiontest_vec_of_vec_opt_out
()
tests/derive/occurrences.rs:21
Functiontest_vec_vec_empty
()
tests/derive/occurrences.rs:41
Functionthree_conflicting_arguments
()
tests/builder/conflicts.rs:480
Methodtitle
Override the default man page title, written in all caps
clap_mangen/src/lib.rs:55
Functionto_be_or_not
()
clap_builder/src/output/textwrap/mod.rs:53
Functionto_long_no_escape
()
clap_lex/tests/testsuite/parsed.rs:18
Functionto_long_no_value
()
clap_lex/tests/testsuite/parsed.rs:30
Functionto_long_stdio
()
clap_lex/tests/testsuite/parsed.rs:6
Functionto_long_with_empty_value
()
clap_lex/tests/testsuite/parsed.rs:44
Functionto_long_with_value
()
clap_lex/tests/testsuite/parsed.rs:58
Functionto_short
()
clap_lex/tests/testsuite/parsed.rs:108
Functionto_short_escape
()
clap_lex/tests/testsuite/parsed.rs:84
Functionto_short_long
()
clap_lex/tests/testsuite/parsed.rs:96
Functionto_short_stdio
()
clap_lex/tests/testsuite/parsed.rs:72
Methodto_tokens
(&self, tokens: &mut TokenStream)
clap_derive/src/attr.rs:206
Methodto_tokens
(&self, ts: &mut TokenStream)
clap_derive/src/item.rs:1311
Methodto_tokens
(&self, stream: &mut TokenStream)
clap_derive/src/utils/spanned.rs:79
Functiontoo_few_value_names_is_dotted
()
tests/builder/help.rs:3095
Methodtoo_few_values
( cmd: &Command, arg: String, min_vals: usize, curr_vals: usize, usage
clap_builder/src/error/mod.rs:637
Functiontoo_many_value_names_panics
()
tests/builder/help.rs:3118
Methodtoo_many_values
( cmd: &Command, val: String, arg: String, usage: Option<StyledStr>, )
clap_builder/src/error/mod.rs:614
Functiontop_can_access_arg
(m: &ArgMatches, val: T)
tests/builder/propagate_globals.rs:39
Functiontop_can_access_flag
(m: &ArgMatches, present: bool, occurrences: u8)
tests/builder/propagate_globals.rs:57
Functiontop_long_doc_comment_both_help_long_help
()
tests/derive/doc_comments_help.rs:148
Functiontrailing_already_in_use
()
tests/builder/error.rs:168
Methodtrailing_var_arg
(self, yes: bool)
clap_builder/src/builder/command.rs:2450
Functiontrailing_var_arg_with_hyphen_values_escape_first
()
tests/builder/app_settings.rs:586
Functiontrailing_var_arg_with_hyphen_values_escape_middle
()
tests/builder/app_settings.rs:591
Functiontrailing_var_arg_with_hyphen_values_long_first
()
tests/builder/app_settings.rs:614
Functiontrailing_var_arg_with_hyphen_values_long_middle
()
tests/builder/app_settings.rs:623
Functiontrailing_var_arg_with_hyphen_values_short_first
()
tests/builder/app_settings.rs:600
Functiontrailing_var_arg_with_hyphen_values_short_middle
()
tests/builder/app_settings.rs:605
Functiontrailing_whitespace
()
clap_builder/src/output/textwrap/mod.rs:99
Methodtry_generate
Fallible version to generate output out of [`clap::Command`]. # Examples The following example generator displays the [`clap::Command`] as if it is
clap_complete/src/aot/generator/mod.rs:99
Methodtry_get_arg
(&self, arg: &str)
clap_builder/src/parser/matches/arg_matches.rs:1243
Methodtry_get_arg_t
( &self, arg: &str, )
clap_builder/src/parser/matches/arg_matches.rs:1249
Functiontry_help_custom_flag
()
tests/builder/help.rs:396
Functiontry_help_custom_flag_long
()
tests/builder/help.rs:439
Functiontry_help_custom_flag_no_action
()
tests/builder/help.rs:458
Functiontry_help_custom_flag_short
()
tests/builder/help.rs:420
Functiontry_help_default
()
tests/builder/help.rs:381
Functiontry_help_subcommand_custom_flag
()
tests/builder/help.rs:494
Functiontry_help_subcommand_custom_flag_no_action
()
tests/builder/help.rs:520
Functiontry_help_subcommand_default
()
tests/builder/help.rs:476
Methodtry_map
Adapt a `TypedValueParser` from one value to another # Example ```rust # use clap_builder as clap; # use std::ffi::OsString; # use std::ffi::OsStr;
clap_builder/src/builder/value_parser.rs:860
Methodtry_parse
Parse from `std::env::args_os()`, return Err on error.
clap_builder/src/derive.rs:46
Methodtry_parse
()
clap_builder/src/derive.rs:321
Methodtry_parse_from
Parse from iterator, return Err on error.
clap_builder/src/derive.rs:71
Methodtry_parse_from
(itr: I)
clap_builder/src/derive.rs:333
← previousnext →3,001–3,100 of 3,258, ranked by callers