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
Method
from_str
(_: &str)
tests/derive/options.rs:97
Method
from_str
(s: &str)
examples/typed-derive/implicit.rs:52
Method
from_str
(s: &str)
examples/typed-derive/custom.rs:35
Method
from_str
(s: &str)
examples/typed-derive/foreign_crate.rs:25
Method
from_str
(s: &str)
examples/tutorial_builder/04_01_enum.rs:35
Method
from_str
Parse an argument into `Self`.
clap_builder/src/derive.rs:298
Method
from_str
(s: &str)
clap_builder/src/builder/value_hint.rs:75
Method
from_str
(s: &str)
clap_builder/src/util/color.rs:81
Method
from_str
(s: &str)
clap_complete/src/env/shells.rs:123
Method
from_str
(s: &str)
clap_complete/src/aot/shells/shell.rs:40
Function
from_str_invalid
()
tests/derive/value_enum.rs:456
Method
from_string
(name: String)
clap_builder/src/builder/str.rs:19
Method
from_string
(name: std::ffi::OsString)
clap_builder/src/builder/os_str.rs:20
Method
from_subcommand_enum
( input: &DeriveInput, name: Name, )
clap_derive/src/item.rs:75
Method
from_subcommand_variant
( variant: &Variant, struct_casing: Sp<CasingStyle>, env_casing: Sp<CasingStyle>,
clap_derive/src/item.rs:122
Method
from_syn_ty
(ty: &Type)
clap_derive/src/utils/ty.rs:23
Method
from_value_enum
(input: &DeriveInput, name: Name)
clap_derive/src/item.rs:95
Method
from_value_enum_variant
( variant: &Variant, argument_casing: Sp<CasingStyle>, env_casing: Sp<CasingStyle>,
clap_derive/src/item.rs:177
Function
gen_for_enum
( item: &Item, item_name: &Ident, generics: &Generics, )
clap_derive/src/derives/into_app.rs:69
Function
gen_for_struct
( item: &Item, item_name: &Ident, generics: &Generics, )
clap_derive/src/derives/into_app.rs:21
Method
generate
(&self, cmd: &Command, buf: &mut dyn std::io::Write)
clap_complete_nushell/src/lib.rs:38
Method
generate
(&self, cmd: &Command, buf: &mut dyn Write)
clap_complete/src/aot/shells/bash.rs:19
Method
generate
(&self, cmd: &clap::Command, buf: &mut dyn std::io::Write)
clap_complete/src/aot/shells/shell.rs:84
Method
generate
(&self, cmd: &Command, buf: &mut dyn Write)
clap_complete/src/aot/shells/fish.rs:18
Method
generate
(&self, cmd: &Command, buf: &mut dyn Write)
clap_complete/src/aot/shells/powershell.rs:18
Method
generate
(&self, cmd: &Command, buf: &mut dyn Write)
clap_complete/src/aot/shells/elvish.rs:18
Function
generate_to
Generate a completions file for a specified shell at compile-time. <div class="warning"> NOTE:** to generate the file at compile time you must use a
clap_complete/src/aot/generator/mod.rs:229
Function
generate_to
Generate manual page files for the command with all subcommands
clap_mangen/src/lib.rs:128
Function
generic_enum
()
tests/derive/generic.rs:49
Function
generic_enum_w_where_clause
()
tests/derive/generic.rs:68
Function
generic_struct_flatten
()
tests/derive/generic.rs:4
Function
generic_struct_flatten_w_where_clause
()
tests/derive/generic.rs:25
Function
generic_w_fromstr_trait_bound
()
tests/derive/generic.rs:90
Function
generic_where_clause_w_trailing_comma
()
tests/derive/generic.rs:129
Function
generic_wo_trait_bound
()
tests/derive/generic.rs:109
Method
get
(&self)
clap_builder/src/builder/arg.rs:4565
Method
get
(&self, k: &Q)
clap_builder/src/util/flat_map.rs:92
Function
get_aliases
()
tests/builder/arg_aliases.rs:89
Method
get_aliases
(&self)
clap_builder/src/builder/command.rs:3892
Method
get_all_short_aliases
(&self)
clap_builder/src/builder/arg.rs:4244
Function
get_arg_conflicts_with_group
()
tests/builder/conflicts.rs:303
Method
get_count
(&self, id: &str)
clap_builder/src/parser/matches/arg_matches.rs:148
Method
get_display_order
(&self)
clap_builder/src/builder/command.rs:3787
Function
get_help
()
tests/derive/utils.rs:18
Method
get_help
(&self)
clap_builder/src/builder/possible_value.rs:171
Method
get_id
(&self)
clap_builder/src/builder/arg_group.rs:520
Function
get_long_help
()
tests/derive/utils.rs:27
Method
get_many
( &self, id: &str, )
clap_builder/src/parser/matches/arg_matches.rs:225
Method
get_mut
(&mut self, k: &Q)
clap_builder/src/util/flat_map.rs:105
Function
get_name
()
tests/derive/subcommands.rs:541
Method
get_next_help_heading
(&self)
clap_builder/src/builder/command.rs:3841
Method
get_one
(&self, id: &str)
clap_builder/src/parser/matches/arg_matches.rs:118
Method
get_raw
(&self, id: &str)
clap_builder/src/parser/matches/arg_matches.rs:313
Method
get_raw_occurrences
(&self, id: &str)
clap_builder/src/parser/matches/arg_matches.rs:367
Function
get_subcommand_long_help
(subcmd: &str)
tests/derive/utils.rs:38
Function
get_subcommands_of
Gets the subcommand section of a completion file This looks roughly like: case $state in ([bin_name]_args) curcontext=\"${curcontext%:*:*}:[name_hyph
clap_complete/src/aot/shells/zsh.rs:222
Method
get_usage
(&self)
clap_builder/src/builder/styling.rs:159
Method
get_visible_quoted_name
(&self)
clap_builder/src/builder/possible_value.rs:189
Function
global_arg_available_in_subcommand
()
tests/builder/global_args.rs:87
Function
global_arg_default_value
()
tests/builder/propagate_globals.rs:102
Function
global_arg_used_inner
()
tests/builder/propagate_globals.rs:93
Function
global_arg_used_outer
()
tests/builder/propagate_globals.rs:84
Function
global_arg_used_top_level
()
tests/builder/propagate_globals.rs:75
Function
global_args_should_not_show_on_help_message_for_help_help
()
tests/builder/help.rs:2718
Function
global_args_should_show_on_help_message_for_nested_subcommand
()
tests/builder/help.rs:2767
Function
global_args_should_show_on_help_message_for_subcommand
()
tests/builder/help.rs:2741
Function
global_args_should_show_on_toplevel_help_message
()
tests/builder/help.rs:2692
Function
global_flag_2x_used_inner
()
tests/builder/propagate_globals.rs:147
Function
global_flag_2x_used_top_level
()
tests/builder/propagate_globals.rs:138
Function
global_flag_used_inner
()
tests/builder/propagate_globals.rs:129
Function
global_flag_used_outer
()
tests/builder/propagate_globals.rs:120
Function
global_flag_used_top_level
()
tests/builder/propagate_globals.rs:111
Function
global_overrides_default
()
tests/builder/global_args.rs:136
Function
global_overrides_env
()
tests/builder/global_args.rs:174
Function
global_passed_down
()
tests/derive/subcommands.rs:182
Function
global_setting
()
clap_builder/src/builder/tests.rs:18
Function
group_acts_like_arg
()
tests/builder/groups.rs:317
Function
group_conflicts_with_arg
()
tests/builder/conflicts.rs:171
Function
group_conflicts_with_default_arg
()
tests/builder/conflicts.rs:639
Function
group_conflicts_with_default_value
()
tests/builder/conflicts.rs:608
Function
group_conrflicts_with_subcommands
()
tests/builder/conflicts.rs:993
Function
group_empty
()
tests/builder/groups.rs:75
Method
group_id
Report the [`ArgGroup::id`][crate::ArgGroup::id] for this set of arguments
clap_builder/src/derive.rs:229
Function
group_in_conflicts_with
()
tests/builder/conflicts.rs:577
Function
group_multi_value_single_arg
()
tests/builder/groups.rs:107
Function
group_multiple_args_error
()
tests/builder/groups.rs:270
Function
group_overrides_required
()
tests/builder/groups.rs:282
Function
group_required
()
tests/builder/require.rs:147
Function
group_required_2
()
tests/builder/require.rs:160
Function
group_required_3
()
tests/builder/require.rs:174
Function
group_required_flags_empty
()
tests/builder/groups.rs:90
Function
group_requires_with_default_value
()
tests/builder/require.rs:1335
Function
group_single_value
()
tests/builder/groups.rs:61
Function
group_usage_use_val_name
()
tests/builder/groups.rs:295
Function
grouped_interleaved_positional_occurrences
()
tests/builder/occurrences.rs:206
Function
grouped_interleaved_positional_values
()
tests/builder/occurrences.rs:183
Function
grouped_value_long_flag_delimiter
()
tests/builder/occurrences.rs:70
Function
grouped_value_multiple_positional_arg
()
tests/builder/occurrences.rs:140
Function
grouped_value_multiple_positional_arg_last_multiple
()
tests/builder/occurrences.rs:161
Function
grouped_value_positional_arg
()
tests/builder/occurrences.rs:120
← previous
next →
1,701–1,800 of 3,258, ranked by callers