MCPcopy Create free account

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

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

Functionapp_name_in_long_help_from_struct
()
tests/derive/app_name.rs:32
Functionapp_name_in_long_version_from_enum
()
tests/derive/app_name.rs:164
Functionapp_name_in_long_version_from_struct
()
tests/derive/app_name.rs:126
Functionapp_name_in_short_help_from_enum
()
tests/derive/app_name.rs:53
Functionapp_name_in_short_help_from_struct
()
tests/derive/app_name.rs:11
Functionapp_name_in_short_version_from_enum
()
tests/derive/app_name.rs:144
Functionapp_name_in_short_version_from_struct
()
tests/derive/app_name.rs:108
Functionapp_send_sync
()
clap_builder/src/builder/tests.rs:33
Functionappend
()
tests/builder/action.rs:43
Methodapply
Apply an alternative formatter to the error # Example ```rust # use clap_builder as clap; # use clap::Command; # use clap::Arg; # use clap::error::K
clap_builder/src/error/mod.rs:172
Functionarg_conflicts_with_group
()
tests/builder/conflicts.rs:105
Functionarg_conflicts_with_group_with_multiple_sources
()
tests/builder/conflicts.rs:139
Functionarg_conflicts_with_group_with_required_memeber
()
tests/builder/conflicts.rs:239
Functionarg_conflicts_with_required_group
()
tests/builder/conflicts.rs:210
Functionarg_group_expose_get_args_helper
()
clap_builder/src/builder/arg_group.rs:607
Functionarg_group_expose_is_multiple_helper
()
clap_builder/src/builder/arg_group.rs:596
Functionarg_group_new_of_arg_name
()
tests/builder/groups.rs:53
Functionarg_group_send_sync
()
clap_builder/src/builder/arg_group.rs:590
Functionarg_help_heading_applied
()
tests/derive/help.rs:6
Functionarg_id_conflict_with_help
()
tests/builder/help.rs:1830
Functionarg_long
()
tests/builder/macros.rs:7
Functionarg_long_conflict_with_help
()
tests/builder/help.rs:1848
Functionarg_long_dashed
()
tests/builder/macros.rs:48
Functionarg_long_multiple_values
()
tests/builder/macros.rs:162
Functionarg_long_optional_value
()
tests/builder/macros.rs:83
Functionarg_long_required_value
()
tests/builder/macros.rs:122
Functionarg_matches_if_present_wrong_arg
()
tests/builder/arg_matches.rs:50
Functionarg_matches_subcommand_matches_wrong_sub
()
tests/builder/arg_matches.rs:76
Functionarg_matches_value_of_wrong_arg
()
tests/builder/arg_matches.rs:63
Functionarg_multiple_values
()
tests/builder/macros.rs:242
Functionarg_name_dashed
allow double quoted dashed arg name in square brackets (e.g ["some-arg"])
tests/macros.rs:350
Functionarg_named_dashed
()
tests/builder/macros.rs:323
Functionarg_named_long
()
tests/builder/macros.rs:284
Functionarg_named_positional
()
tests/builder/macros.rs:247
Functionarg_optional_value
()
tests/builder/macros.rs:167
Functionarg_require_group
()
tests/builder/require.rs:188
Functionarg_require_group_2
()
tests/builder/require.rs:201
Functionarg_require_group_3
()
tests/builder/require.rs:220
Functionarg_required_else_help
()
tests/builder/app_settings.rs:80
Functionarg_required_else_help_error_message
()
tests/builder/app_settings.rs:141
Functionarg_required_else_help_over_req_arg
()
tests/builder/app_settings.rs:95
Functionarg_required_else_help_over_req_subcommand
()
tests/builder/app_settings.rs:110
Functionarg_required_else_help_with_default
()
tests/builder/app_settings.rs:126
Functionarg_required_value
()
tests/builder/macros.rs:204
Functionarg_send_sync
()
clap_builder/src/builder/tests.rs:55
Functionarg_short
()
tests/builder/macros.rs:43
Functionarg_short_conflict_with_help
()
tests/builder/help.rs:1839
Functionarg_value_dashed_with_long_arg
allow double quoted dashed arg value in triangle brackets (e.g <"some-val">) test in combination with long argument name (e.g. --value)
tests/macros.rs:384
Functionarg_value_dashed_with_short_arg
allow double quoted dashed arg value in triangle brackets (e.g <"some-val">) test in combination with short argument name (e.g. -v)
tests/macros.rs:364
Functionargs
(name: &Ident)
clap_derive/src/dummies.rs:67
Methodargs
Return iterators of all args.
clap_builder/src/mkeymap.rs:117
Functionargs_metadata
()
tests/derive/defer.rs:148
Functionargs_negate_sc
()
tests/builder/help.rs:1640
Functionargs_negate_subcommands_one_level
()
tests/builder/conflicts.rs:947
Functionargs_negate_subcommands_two_levels
()
tests/builder/conflicts.rs:966
Methodargs_present
Check if any [`Arg`][crate::Arg]s were present on the command line See [`ArgMatches::subcommand_name()`] or [`ArgMatches::subcommand()`] to check if
clap_builder/src/parser/matches/arg_matches.rs:578
Functionargs_present_flag
()
tests/builder/arg_matches.rs:98
Functionargs_present_positional
()
tests/builder/arg_matches.rs:87
Functionargs_present_subcommand
()
tests/builder/arg_matches.rs:109
Functionargs_with_last_usage
()
tests/builder/help.rs:125
Methodargument_conflict
( cmd: &Command, arg: String, mut others: Vec<String>, usage: Option<StyledStr
clap_builder/src/error/mod.rs:378
Functionargument_with_default
()
tests/derive/arguments.rs:37
Methodas_internal_str
(&self)
clap_builder/src/util/id.rs:27
Methodas_str
(&self)
clap_derive/src/utils/ty.rs:44
Functionassert_output
( args: &str, expected: impl snapbox::IntoData, stderr: bool, )
tests/derive/utils.rs:53
Methodattribute
(version: &'static str, old: AttrKind, new: AttrKind, span: Span)
clap_derive/src/item.rs:1329
Methodaugment_args
(cmd: Command)
examples/derive_ref/flatten_hand_args.rs:38
Methodaugment_args
(cmd: Command)
clap_builder/src/derive.rs:367
Methodaugment_args_for_update
(cmd: Command)
examples/derive_ref/flatten_hand_args.rs:58
Methodaugment_args_for_update
(cmd: Command)
clap_builder/src/derive.rs:370
Methodaugment_subcommands
(cmd: Command)
examples/derive_ref/hand_subcommand.rs:54
Methodaugment_subcommands
(cmd: Command)
clap_builder/src/derive.rs:376
Methodaugment_subcommands_for_update
(cmd: Command)
examples/derive_ref/hand_subcommand.rs:59
Methodaugment_subcommands_for_update
(cmd: Command)
clap_builder/src/derive.rs:379
Functionauto_default_value_t
()
tests/derive/default_value.rs:61
Functionauto_value_name
()
tests/derive/arguments.rs:52
Functionbad_multicall_command_error
()
tests/builder/subcommands.rs:480
Functionbad_osstring
Take a slice of ASCII bytes, convert them to UTF-16, and then append a dangling surrogate character to make the result invalid UTF-16.
tests/builder/utf16.rs:13
Functionbasic
()
clap_complete_nushell/tests/nushell.rs:4
Functionbasic
()
tests/derive/basic.rs:18
Functionbasic
()
tests/derive/value_enum.rs:13
Functionbasic
()
clap_complete/tests/testsuite/bash.rs:14
Functionbasic
()
clap_complete/tests/testsuite/zsh.rs:14
Functionbasic
()
clap_complete/tests/testsuite/fish.rs:13
Functionbasic
()
clap_complete/tests/testsuite/powershell.rs:4
Functionbasic
()
clap_complete/tests/testsuite/elvish.rs:13
Functionbasic
()
clap_mangen/tests/testsuite/roff.rs:4
Functionbest_fit
()
clap_builder/src/parser/features/suggestions.rs:114
Functionbest_fit_long_common_prefix_issue_4660
()
clap_builder/src/parser/features/suggestions.rs:129
Methodbin
Override the name of the binary to complete Default: `Command::get_bin_name`
clap_complete/src/env/mod.rs:160
Methodbitor
(mut self, rhs: Self)
clap_builder/src/builder/arg_settings.rs:28
Methodbitor
(mut self, rhs: Self)
clap_builder/src/builder/app_settings.rs:30
Functionblocks
()
tests/derive/markdown.rs:70
Methodbool
[`bool`] parser for argument values See also: - [`BoolishValueParser`] for different human readable bool representations - [`FalseyValueParser`] for
clap_builder/src/builder/value_parser.rs:143
Functionbool_type_is_flag
()
tests/derive/flags.rs:22
Functionboolean_required_group
()
clap_mangen/tests/testsuite/roff.rs:272
Methodborrow
(&self)
clap_builder/src/builder/str.rs:167
Methodborrow
(&self)
clap_builder/src/builder/os_str.rs:185
Functionborrowed_args
()
tests/builder/borrowed.rs:4
Functionboxed_flatten_subcommand
()
tests/derive/boxed.rs:23
← previousnext →1,101–1,200 of 3,258, ranked by callers