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
↓ 1 callers
Function
get_vec_ty
(ty: &Type, vec_ty: Ty, vecvec_ty: Ty)
clap_derive/src/utils/ty.rs:153
↓ 1 callers
Method
get_visible_aliases
(&self)
clap_builder/src/builder/command.rs:3847
↓ 1 callers
Method
get_visible_long_flag_aliases
(&self)
clap_builder/src/builder/command.rs:3865
↓ 1 callers
Method
get_visible_short_flag_aliases
(&self)
clap_builder/src/builder/command.rs:3856
↓ 1 callers
Method
group
(mut self, group: impl Into<ArgGroup>)
clap_builder/src/builder/command.rs:468
↓ 1 callers
Method
group_methods
(&self)
clap_derive/src/item.rs:1006
↓ 1 callers
Function
hidden_longs_aliases
Gets all the long hidden aliases and flags of a [`clap::Command`].
clap_complete/src/engine/complete.rs:519
↓ 1 callers
Function
hidden_option_command
(name: &'static str)
clap_mangen/tests/testsuite/common.rs:249
↓ 1 callers
Function
hidden_positional_command
(name: &'static str)
clap_mangen/tests/testsuite/common.rs:264
↓ 1 callers
Method
hide
(self, yes: bool)
clap_builder/src/builder/command.rs:3126
↓ 1 callers
Method
hide_default_value
(self, yes: bool)
clap_builder/src/builder/arg.rs:2606
↓ 1 callers
Method
home
(&self)
clap_complete_nushell/tests/common.rs:437
↓ 1 callers
Method
id
(mut self, id: impl Into<Id>)
clap_builder/src/builder/arg.rs:130
↓ 1 callers
Method
id
(mut self, id: impl Into<Id>)
clap_builder/src/builder/arg_group.rs:107
↓ 1 callers
Method
indent
(&mut self, initial: &str, trailing: &str)
clap_builder/src/builder/styled_str.rs:69
↓ 1 callers
Method
indices
(&self)
clap_builder/src/parser/matches/matched_arg.rs:66
↓ 1 callers
Method
insert
(&mut self, other: Self)
clap_builder/src/builder/app_settings.rs:22
↓ 1 callers
Method
insert_child
(&mut self, parent: usize, child: T)
clap_builder/src/util/graph.rs:35
↓ 1 callers
Function
into_app
(name: &Ident)
clap_derive/src/dummies.rs:17
↓ 1 callers
Method
into_os_string
(self)
clap_builder/src/builder/os_str.rs:283
↓ 1 callers
Method
into_string
(self)
clap_builder/src/builder/str.rs:265
↓ 1 callers
Method
into_vals
(self)
clap_builder/src/parser/matches/matched_arg.rs:82
↓ 1 callers
Method
into_vec
(self)
clap_builder/src/util/flat_set.rs:64
↓ 1 callers
Method
is
(&self, name: &str)
clap_complete/src/env/shells.rs:14
↓ 1 callers
Method
is_allow_hyphen_values_set
(&self)
clap_builder/src/builder/command.rs:4204
↓ 1 callers
Method
is_allow_negative_numbers_set
(&self)
clap_builder/src/builder/command.rs:4216
↓ 1 callers
Method
is_arg_required_else_help_set
Report whether [`Command::arg_required_else_help`] is set
clap_builder/src/builder/command.rs:4192
↓ 1 callers
Method
is_args_override_self
(&self)
clap_builder/src/builder/command.rs:4275
↓ 1 callers
Function
is_ci
()
clap_complete_nushell/tests/common.rs:499
↓ 1 callers
Function
is_ci
()
clap_complete/tests/testsuite/common.rs:514
↓ 1 callers
Method
is_disable_colored_help_set
Report whether [`Command::disable_colored_help`] is set
clap_builder/src/builder/command.rs:4162
↓ 1 callers
Method
is_dont_delimit_trailing_values_set
Report whether [`Command::dont_delimit_trailing_values`] is set
clap_builder/src/builder/command.rs:4131
↓ 1 callers
Method
is_help_expected_set
(&self)
clap_builder/src/builder/command.rs:4168
↓ 1 callers
Function
is_hidden
(file_name: &OsStr)
clap_complete/src/engine/custom.rs:404
↓ 1 callers
Method
is_hide_env_values_set
(&self)
clap_builder/src/builder/arg.rs:4524
↓ 1 callers
Method
is_infer_long_args_set
Report whether [`Command::infer_long_args`] is set
clap_builder/src/builder/command.rs:4182
↓ 1 callers
Method
is_missing_required_ok
(&self, a: &Arg, conflicts: &Conflicts)
clap_builder/src/parser/validator.rs:345
↓ 1 callers
Method
is_new_arg
(&self, next: &clap_lex::ParsedArg<'_>, current_positional: &Arg)
clap_builder/src/parser/parser.rs:683
↓ 1 callers
Method
is_no_binary_name_set
Report whether [`Command::no_binary_name`] is set
clap_builder/src/builder/command.rs:4121
↓ 1 callers
Function
is_number
(arg: &str)
clap_lex/src/lib.rs:492
↓ 1 callers
Method
is_subcommand_precedence_over_arg_set
Report whether [`Command::subcommand_precedence_over_arg`] is set
clap_builder/src/builder/command.rs:4280
↓ 1 callers
Method
is_trailing_var_arg_set
(&self)
clap_builder/src/builder/command.rs:4225
↓ 1 callers
Method
is_unbounded
(&self)
clap_builder/src/builder/range.rs:103
↓ 1 callers
Function
is_unit_ty
(ty: &Type)
clap_derive/src/utils/ty.rs:137
↓ 1 callers
Method
iter
(&self)
clap_builder/src/util/flat_set.rs:52
↓ 1 callers
Function
last_args_command
(name: &'static str)
clap_complete_nushell/tests/common.rs:270
↓ 1 callers
Method
lit_bool_or_abort
(&self)
clap_derive/src/attr.rs:86
↓ 1 callers
Method
lit_str_or_abort
(&self)
clap_derive/src/attr.rs:56
↓ 1 callers
Function
lits
(variants: &[(&Variant, Item)])
clap_derive/src/derives/value_enum.rs:82
↓ 1 callers
Method
long
Writes argument's long command to the wrapped stream.
clap_builder/src/output/help_template.rs:551
↓ 1 callers
Method
long_flag_aliases_to
(&self, flag: &str)
clap_builder/src/builder/command.rs:4997
↓ 1 callers
Method
long_help_exists
(&self)
clap_builder/src/builder/command.rs:5148
↓ 1 callers
Method
long_help_exists_
(&self)
clap_builder/src/builder/command.rs:5153
↓ 1 callers
Function
longs_and_visible_aliases
Gets all the long options, their visible aliases and flags of a [`clap::Command`] with formatted `--` prefix. Includes `help` and `version` depending
clap_complete/src/engine/complete.rs:503
↓ 1 callers
Method
match_arg_error
( &self, arg_os: &clap_lex::ParsedArg<'_>, valid_arg_found: bool, trailing_val
clap_builder/src/parser/parser.rs:508
↓ 1 callers
Method
name
(&self)
clap_derive/src/item.rs:1222
↓ 1 callers
Method
name
(&self)
clap_bench/benches/complex.rs:121
↓ 1 callers
Method
name
(&self)
clap_complete/src/env/shells.rs:11
↓ 1 callers
Method
name_no_brackets
Used for positionals when printing
clap_builder/src/builder/arg.rs:4628
↓ 1 callers
Method
names
Collect all [`EnvCompleter::name`]s
clap_complete/src/env/mod.rs:330
↓ 1 callers
Method
needs_options_tag
Determines if we need the `[OPTIONS]` tag in the usage string
clap_builder/src/output/usage.rs:204
↓ 1 callers
Method
new_paragraph
(&mut self)
clap_derive/src/utils/doc_comments.rs:166
↓ 1 callers
Method
num_values
(&self)
clap_builder/src/builder/range.rs:115
↓ 1 callers
Function
opt_allows_hyphen
(state: &ParseState<'_>, arg: &clap_lex::ParsedArg<'_>)
clap_complete/src/engine/complete.rs:726
↓ 1 callers
Function
option_default_values
(opt: &Arg)
clap_mangen/src/render.rs:458
↓ 1 callers
Function
option_environment
(_opt: &Arg)
clap_mangen/src/render.rs:440
↓ 1 callers
Function
option_help
(opt: &Arg)
clap_mangen/src/render.rs:426
↓ 1 callers
Function
option_value_markers
(arg: &Arg)
clap_mangen/src/render.rs:393
↓ 1 callers
Function
optional_group_command
(name: &'static str)
clap_mangen/tests/testsuite/common.rs:573
↓ 1 callers
Function
options
(roff: &mut Roff, items: &[&Arg])
clap_mangen/src/render.rs:221
↓ 1 callers
Method
override_help
(mut self, help: impl IntoResettable<StyledStr>)
clap_builder/src/builder/command.rs:2244
↓ 1 callers
Function
override_synopsis
Render the usage set with [`clap::Command::override_usage`]. Such a usage may document several invocation forms, one per line, indented to line up un
clap_mangen/src/render.rs:197
↓ 1 callers
Function
override_usage_command
(name: &'static str)
clap_mangen/tests/testsuite/common.rs:287
↓ 1 callers
Function
override_usage_single_command
(name: &'static str)
clap_mangen/tests/testsuite/common.rs:306
↓ 1 callers
Method
parse
( &self, cmd: &crate::Command, _arg: Option<&crate::Arg>, value: std::ffi::OsS
clap_builder/src/builder/value_parser.rs:926
↓ 1 callers
Function
parse_aliases
()
examples/git.rs:68
↓ 1 callers
Function
parse_aliases
()
examples/git-derive.rs:109
↓ 1 callers
Function
parse_env
(var: &str)
clap_builder/src/output/help_template.rs:1130
↓ 1 callers
Function
parse_markdown
(lines: &[String])
clap_derive/src/utils/doc_comments.rs:123
↓ 1 callers
Function
parse_opt_value
Parse optional flag argument. Return new state
clap_complete/src/engine/complete.rs:709
↓ 1 callers
Method
parse_opt_value
( &self, ident: Identifier, attached_value: Option<&OsStr>, arg: &Arg,
clap_builder/src/parser/parser.rs:1017
↓ 1 callers
Function
parse_positional
Parse the positional arguments. Return the new state and the new positional index.
clap_complete/src/engine/complete.rs:658
↓ 1 callers
Method
parse_ref_
( &self, cmd: &crate::Command, arg: Option<&crate::Arg>, value: &std::ffi::OsS
clap_builder/src/builder/value_parser.rs:634
↓ 1 callers
Function
parse_shell_from_path
use a separate function to avoid having to monomorphize the entire function due to from_shell_path being generic
clap_complete/src/aot/shells/shell.rs:152
↓ 1 callers
Function
parser_of
Get the Command for a given subcommand tree. Given the bin_name "a b c" and the Command for "a" this returns the "c" Command. Given the bin_name "a b
clap_complete/src/aot/shells/zsh.rs:288
↓ 1 callers
Function
path_has_name
(path: &std::path::Path)
clap_complete/src/engine/custom.rs:420
↓ 1 callers
Method
pending_arg_id
(&self)
clap_builder/src/parser/arg_matcher.rs:194
↓ 1 callers
Function
populate_command_candidate
( candidate: CompletionCandidate, cmd: &clap::Command, subcommand: &clap::Command, )
clap_complete/src/engine/complete.rs:600
↓ 1 callers
Function
pos_allows_hyphen
(cmd: &clap::Command, pos_index: usize)
clap_complete/src/engine/complete.rs:719
↓ 1 callers
Function
position_sensitive_flag
(arg: Arg)
examples/find.rs:45
↓ 1 callers
Function
positional_index_command
(name: &'static str)
clap_complete_nushell/tests/common.rs:171
↓ 1 callers
Function
positional_required_group_command
(name: &'static str)
clap_mangen/tests/testsuite/common.rs:621
↓ 1 callers
Method
possible_long_flag_subcommand
Checks if the arg matches a long flag subcommand name, or any of its aliases (if defined)
clap_builder/src/parser/parser.rs:621
↓ 1 callers
Function
possible_options
(roff: &mut Roff, arg: &Arg, arg_help_written: bool)
clap_mangen/src/render.rs:321
↓ 1 callers
Function
possible_values
Get the possible values for completion
clap_complete/src/engine/complete.rs:570
↓ 1 callers
Method
possible_values
Reflect on enumerated value properties Error checking should not be done with this; it is mostly targeted at user-facing applications like errors and
clap_builder/src/builder/value_parser.rs:254
↓ 1 callers
Function
possible_values_command
(name: &'static str)
clap_mangen/tests/testsuite/common.rs:322
↓ 1 callers
Function
print_completions
(generator: G, cmd: &mut Command)
clap_complete/examples/completion.rs:97
↓ 1 callers
Function
print_completions
(generator: G, cmd: &mut clap::Command)
clap_complete/examples/exhaustive.rs:22
↓ 1 callers
Function
print_completions
(generator: G, cmd: &mut Command)
clap_complete/examples/completion-derive.rs:69
← previous
next →
801–900 of 3,258, ranked by callers