Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clap-rs/clap
/ functions
Functions
3,258 in github.com/clap-rs/clap
⨍
Functions
3,258
◇
Types & classes
446
Function
test_fetch
()
tests/derive/nested_subcommands.rs:59
Function
test_fetch
()
tests/derive/subcommands.rs:44
Function
test_find_subcommand_with_path
()
clap_complete/src/aot/generator/utils.rs:218
Function
test_flag_subcommand
()
clap_complete/src/aot/generator/utils.rs:242
Function
test_flags
()
clap_complete/src/aot/generator/utils.rs:226
Function
test_from
()
clap_builder/src/builder/arg_group.rs:565
Function
test_grouped_vals_first
()
clap_builder/src/parser/matches/matched_arg.rs:213
Function
test_hyphenated_subcommands
This test is specifically to make sure that hyphenated subcommands get processed correctly.
tests/derive/subcommands.rs:101
Function
test_longs
()
clap_complete/src/aot/generator/utils.rs:274
Function
test_lower_is_renamed
()
tests/derive/naming.rs:270
Function
test_multi_args
()
tests/derive/non_literal_attributes.rs:89
Function
test_multi_args_fail
()
tests/derive/non_literal_attributes.rs:111
Function
test_multi_word_enum_variant_is_renamed
()
tests/derive/naming.rs:311
Function
test_no_cmd
()
tests/derive/nested_subcommands.rs:44
Function
test_no_parse
()
tests/derive/subcommands.rs:82
Function
test_null_commands
()
tests/derive/subcommands.rs:118
Function
test_option_vec_vec
()
tests/derive/occurrences.rs:55
Function
test_option_vec_vec_empty
()
tests/derive/occurrences.rs:71
Function
test_parse_hex
()
tests/derive/custom_string_parsers.rs:75
Function
test_parse_hex_function_path
()
tests/derive/non_literal_attributes.rs:134
Function
test_parser_with_default_value
()
tests/derive/custom_string_parsers.rs:141
Function
test_path_opt_simple
()
tests/derive/custom_string_parsers.rs:42
Function
test_rename_all_is_not_propagated_from_struct_into_flattened
()
tests/derive/naming.rs:247
Function
test_rename_all_is_not_propagated_from_struct_into_subcommand
()
tests/derive/naming.rs:324
Function
test_rename_all_is_propagated_from_enum_to_variant_fields
()
tests/derive/naming.rs:367
Function
test_rename_all_is_propagated_from_enum_to_variants
()
tests/derive/naming.rs:349
Function
test_rename_all_is_propagated_from_struct_to_fields
()
tests/derive/naming.rs:232
Function
test_rename_all_is_propagation_can_be_overridden
()
tests/derive/naming.rs:387
Function
test_safely_nest_parser
()
tests/derive/groups.rs:7
Function
test_shorts
()
clap_complete/src/aot/generator/utils.rs:257
Function
test_single_word_enum_variant_is_default_renamed_into_kebab_case
()
tests/derive/naming.rs:298
Function
test_slice
()
tests/derive/non_literal_attributes.rs:49
Function
test_standalone_long_generates_kebab_case
()
tests/derive/naming.rs:5
Function
test_standalone_long_ignores_afterwards_defined_custom_id
()
tests/derive/naming.rs:76
Function
test_standalone_long_ignores_afterwards_defined_custom_name
()
tests/derive/naming.rs:48
Function
test_standalone_long_uses_previous_defined_casing
()
tests/derive/naming.rs:175
Function
test_standalone_long_uses_previous_defined_custom_id
()
tests/derive/naming.rs:62
Function
test_standalone_long_uses_previous_defined_custom_name
()
tests/derive/naming.rs:34
Function
test_standalone_long_works_with_verbatim_casing
()
tests/derive/naming.rs:203
Function
test_standalone_short_generates_kebab_case
()
tests/derive/naming.rs:90
Function
test_standalone_short_ignores_afterwards_defined_custom_id
()
tests/derive/naming.rs:161
Function
test_standalone_short_ignores_afterwards_defined_custom_name
()
tests/derive/naming.rs:133
Function
test_standalone_short_uses_previous_defined_casing
()
tests/derive/naming.rs:189
Function
test_standalone_short_uses_previous_defined_custom_id
()
tests/derive/naming.rs:147
Function
test_standalone_short_uses_previous_defined_custom_name
()
tests/derive/naming.rs:119
Function
test_standalone_short_works_with_verbatim_casing
()
tests/derive/naming.rs:218
Function
test_subcommands
()
clap_complete/src/aot/generator/utils.rs:182
Function
test_subsubcommand
()
tests/derive/nested_subcommands.rs:135
Function
test_tuple_commands
()
tests/derive/subcommands.rs:148
Function
test_upper_is_renamed
()
tests/derive/naming.rs:284
Function
test_vec_of_vec
()
tests/derive/occurrences.rs:5
Function
test_vec_of_vec_opt_out
()
tests/derive/occurrences.rs:21
Function
test_vec_vec_empty
()
tests/derive/occurrences.rs:41
Function
three_conflicting_arguments
()
tests/builder/conflicts.rs:480
Method
title
Override the default man page title, written in all caps
clap_mangen/src/lib.rs:55
Function
to_be_or_not
()
clap_builder/src/output/textwrap/mod.rs:53
Function
to_long_no_escape
()
clap_lex/tests/testsuite/parsed.rs:18
Function
to_long_no_value
()
clap_lex/tests/testsuite/parsed.rs:30
Function
to_long_stdio
()
clap_lex/tests/testsuite/parsed.rs:6
Function
to_long_with_empty_value
()
clap_lex/tests/testsuite/parsed.rs:44
Function
to_long_with_value
()
clap_lex/tests/testsuite/parsed.rs:58
Function
to_short
()
clap_lex/tests/testsuite/parsed.rs:108
Function
to_short_escape
()
clap_lex/tests/testsuite/parsed.rs:84
Function
to_short_long
()
clap_lex/tests/testsuite/parsed.rs:96
Function
to_short_stdio
()
clap_lex/tests/testsuite/parsed.rs:72
Method
to_tokens
(&self, tokens: &mut TokenStream)
clap_derive/src/attr.rs:206
Method
to_tokens
(&self, ts: &mut TokenStream)
clap_derive/src/item.rs:1311
Method
to_tokens
(&self, stream: &mut TokenStream)
clap_derive/src/utils/spanned.rs:79
Function
too_few_value_names_is_dotted
()
tests/builder/help.rs:3095
Method
too_few_values
( cmd: &Command, arg: String, min_vals: usize, curr_vals: usize, usage
clap_builder/src/error/mod.rs:637
Function
too_many_value_names_panics
()
tests/builder/help.rs:3118
Method
too_many_values
( cmd: &Command, val: String, arg: String, usage: Option<StyledStr>, )
clap_builder/src/error/mod.rs:614
Function
top_can_access_arg
(m: &ArgMatches, val: T)
tests/builder/propagate_globals.rs:39
Function
top_can_access_flag
(m: &ArgMatches, present: bool, occurrences: u8)
tests/builder/propagate_globals.rs:57
Function
top_long_doc_comment_both_help_long_help
()
tests/derive/doc_comments_help.rs:148
Function
trailing_already_in_use
()
tests/builder/error.rs:168
Method
trailing_var_arg
(self, yes: bool)
clap_builder/src/builder/command.rs:2450
Function
trailing_var_arg_with_hyphen_values_escape_first
()
tests/builder/app_settings.rs:586
Function
trailing_var_arg_with_hyphen_values_escape_middle
()
tests/builder/app_settings.rs:591
Function
trailing_var_arg_with_hyphen_values_long_first
()
tests/builder/app_settings.rs:614
Function
trailing_var_arg_with_hyphen_values_long_middle
()
tests/builder/app_settings.rs:623
Function
trailing_var_arg_with_hyphen_values_short_first
()
tests/builder/app_settings.rs:600
Function
trailing_var_arg_with_hyphen_values_short_middle
()
tests/builder/app_settings.rs:605
Function
trailing_whitespace
()
clap_builder/src/output/textwrap/mod.rs:99
Method
try_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
Method
try_get_arg
(&self, arg: &str)
clap_builder/src/parser/matches/arg_matches.rs:1243
Method
try_get_arg_t
( &self, arg: &str, )
clap_builder/src/parser/matches/arg_matches.rs:1249
Function
try_help_custom_flag
()
tests/builder/help.rs:396
Function
try_help_custom_flag_long
()
tests/builder/help.rs:439
Function
try_help_custom_flag_no_action
()
tests/builder/help.rs:458
Function
try_help_custom_flag_short
()
tests/builder/help.rs:420
Function
try_help_default
()
tests/builder/help.rs:381
Function
try_help_subcommand_custom_flag
()
tests/builder/help.rs:494
Function
try_help_subcommand_custom_flag_no_action
()
tests/builder/help.rs:520
Function
try_help_subcommand_default
()
tests/builder/help.rs:476
Method
try_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
Method
try_parse
Parse from `std::env::args_os()`, return Err on error.
clap_builder/src/derive.rs:46
Method
try_parse
()
clap_builder/src/derive.rs:321
Method
try_parse_from
Parse from iterator, return Err on error.
clap_builder/src/derive.rs:71
Method
try_parse_from
(itr: I)
clap_builder/src/derive.rs:333
← previous
next →
3,001–3,100 of 3,258, ranked by callers