MCPcopy Create free account

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

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

↓ 3 callersMethodis_multiple
Either multiple values or occurrences
clap_builder/src/builder/arg.rs:4759
↓ 3 callersMethodis_multiple_values_set
(&self)
clap_builder/src/builder/arg.rs:4440
↓ 3 callersMethodis_negative_number
Does the argument look like a negative number? This won't parse the number in full but attempts to see if this looks like something along the lines o
clap_lex/src/lib.rs:316
↓ 3 callersMethodis_next_line_help_set
Report whether [`Arg::next_line_help`] is set
clap_builder/src/builder/arg.rs:4497
↓ 3 callersMethodis_require_equals_set
Report whether [`Arg::require_equals`] is set
clap_builder/src/builder/arg.rs:4539
↓ 3 callersMethodis_trailing_var_arg_set
Report whether [`Arg::trailing_var_arg`] is set
clap_builder/src/builder/arg.rs:4549
↓ 3 callersMethoditer_text
(&self)
clap_builder/src/builder/styled_str.rs:134
↓ 3 callersMethodkind
Type of error for programmatic processing
clap_builder/src/error/mod.rs:180
↓ 3 callersMethodliteral
(mut self, style: Style)
clap_builder/src/builder/styling.rs:98
↓ 3 callersMethodlong_flag_aliases
(mut self, names: impl IntoIterator<Item = impl Into<Str>>)
clap_builder/src/builder/command.rs:2849
↓ 3 callersMethodlong_version
(mut self, ver: impl IntoResettable<Str>)
clap_builder/src/builder/command.rs:2151
↓ 3 callersMethodnewline
(&mut self)
clap_derive/src/utils/doc_comments.rs:156
↓ 3 callersMethodnext
(&mut self)
clap_builder/src/util/flat_map.rs:197
↓ 3 callersMethodnext_os
Advance the cursor, returning a raw argument value.
clap_lex/src/lib.rs:198
↓ 3 callersFunctionoption_markers
(opt: &Arg)
clap_mangen/src/render.rs:385
↓ 3 callersMethodor_insert
(self, default: V)
clap_builder/src/util/flat_map.rs:156
↓ 3 callersMethodparse_ref
Parse into a `AnyValue` When `arg` is `None`, an external subcommand value is being parsed.
clap_builder/src/builder/value_parser.rs:235
↓ 3 callersMethodplaceholder
(mut self, style: Style)
clap_builder/src/builder/styling.rs:105
↓ 3 callersFunctionpopulate_arg_candidate
(candidate: CompletionCandidate, arg: &clap::Arg)
clap_complete/src/engine/complete.rs:555
↓ 3 callersMethodpossible_values
Report all `possible_values`
clap_builder/src/util/color.rs:62
↓ 3 callersMethodprint
Prints formatted and colored error to `stdout` or `stderr` according to its error kind # Example ```no_run # use clap_builder as clap; use clap::Comm
clap_builder/src/error/mod.rs:268
↓ 3 callersMethodrange
Narrow the supported range
clap_builder/src/builder/value_parser.rs:1327
↓ 3 callersFunctionraw_deprecated
()
clap_derive/src/derives/args.rs:769
↓ 3 callersMethodremaining
Return all remaining raw arguments, advancing the cursor to the end # Example ```rust,no_run # use std::path::PathBuf; let raw = clap_lex::RawArgs::
clap_lex/src/lib.rs:227
↓ 3 callersMethodremove_entry
(&mut self, key: &Q)
clap_builder/src/util/flat_map.rs:63
↓ 3 callersMethodrequires
(mut self, id: impl IntoResettable<Id>)
clap_builder/src/builder/arg_group.rs:360
↓ 3 callersMethodset_source
(&mut self, source: ValueSource)
clap_builder/src/parser/matches/matched_arg.rs:157
↓ 3 callersMethodshort_flag_aliases
(mut self, names: impl IntoIterator<Item = char>)
clap_builder/src/builder/command.rs:2820
↓ 3 callersFunctionshould_show_subcommand
(subcommand: &Command)
clap_builder/src/output/help_template.rs:1150
↓ 3 callersMethodstylized
(&self, styles: &Styles, required: Option<bool>)
clap_builder/src/builder/arg.rs:4653
↓ 3 callersFunctionsubcommands
Gets subcommands of [`clap::Command`] in the form of `("name", "bin_name")`. Subcommand `rustup toolchain install` would be converted to `("install",
clap_complete/src/aot/generator/utils.rs:40
↓ 3 callersMethodtag
Group candidates by tag Future: these may become user-visible
clap_complete/src/engine/candidate.rs:44
↓ 3 callersMethodtranslate
(self, style: CasingStyle)
clap_derive/src/item.rs:1464
↓ 3 callersMethodtype_id
(&self)
clap_builder/src/parser/matches/matched_arg.rs:165
↓ 3 callersMethodunroll_arg_requires
(&self, func: F, arg: &Id)
clap_builder/src/builder/command.rs:5083
↓ 3 callersMethodunset
(&mut self, setting: ArgSettings)
clap_builder/src/builder/arg_settings.rs:12
↓ 3 callersMethodusage
(mut self, style: Style)
clap_builder/src/builder/styling.rs:91
↓ 3 callersMethoduse_stderr
(&self)
clap_builder/src/error/mod.rs:218
↓ 3 callersMethodvalid
(mut self, style: Style)
clap_builder/src/builder/styling.rs:112
↓ 3 callersMethodvals_flatten
(&self)
clap_builder/src/parser/matches/matched_arg.rs:86
↓ 3 callersMethodvisible_long_flag_alias
(mut self, name: impl IntoResettable<Str>)
clap_builder/src/builder/command.rs:2954
↓ 3 callersMethodvisible_long_flag_aliases
( mut self, names: impl IntoIterator<Item = impl Into<Str>>, )
clap_builder/src/builder/command.rs:3048
↓ 3 callersMethodvisible_short_flag_aliases
(mut self, names: impl IntoIterator<Item = char>)
clap_builder/src/builder/command.rs:3023
↓ 3 callersMethodwith_content
(mut self, content: StyledStr)
clap_builder/src/output/fmt.rs:27
↓ 3 callersMethodwrite_arg_usage
(&self, styled: &mut StyledStr, used: &[Id], incl_reqs: bool)
clap_builder/src/output/usage.rs:151
↓ 3 callersMethodwrite_args
Sorts arguments by length and display order and write their help to the wrapped stream.
clap_builder/src/output/help_template.rs:470
↓ 3 callersMethodwrite_usage_no_title
Creates a usage string (*without title*) if one was not provided by the user manually.
clap_builder/src/output/usage.rs:75
↓ 2 callersMethod_build_subcommand
(&mut self, name: &str)
clap_builder/src/builder/command.rs:4491
↓ 2 callersMethod_propagate_subcommand
(&self, sc: &mut Self)
clap_builder/src/builder/command.rs:4780
↓ 2 callersMethod_render_authors_section
(&self, roff: &mut Roff)
clap_mangen/src/lib.rs:327
↓ 2 callersMethod_render_description_section
(&self, roff: &mut Roff)
clap_mangen/src/lib.rs:234
↓ 2 callersMethod_render_extra_section
(&self, roff: &mut Roff)
clap_mangen/src/lib.rs:302
↓ 2 callersMethod_render_name_section
(&self, roff: &mut Roff)
clap_mangen/src/lib.rs:210
↓ 2 callersMethod_render_options_section
(&self, roff: &mut Roff)
clap_mangen/src/lib.rs:246
↓ 2 callersMethod_render_subcommands_section
(&self, roff: &mut Roff)
clap_mangen/src/lib.rs:289
↓ 2 callersMethod_render_synopsis_section
(&self, roff: &mut Roff)
clap_mangen/src/lib.rs:222
↓ 2 callersMethod_render_title
(&self, roff: &mut Roff)
clap_mangen/src/lib.rs:188
↓ 2 callersMethod_render_version_section
(&self, roff: &mut Roff)
clap_mangen/src/lib.rs:314
↓ 2 callersMethodadd_prefix
Add a prefix to the value of completion candidate This is generally used for post-process by [`complete`][crate::engine::complete()] for things like
clap_complete/src/engine/candidate.rs:67
↓ 2 callersMethodafter_long_help
(mut self, help: impl IntoResettable<StyledStr>)
clap_builder/src/builder/command.rs:2049
↓ 2 callersMethodaliases_to
(&self, name: impl AsRef<std::ffi::OsStr>)
clap_builder/src/builder/command.rs:4981
↓ 2 callersMethodall_subcommand_names
Iterate through all the names of all subcommands (not recursively), including aliases. Used for suggestions.
clap_builder/src/builder/command.rs:5028
↓ 2 callersFunctionall_subcommands
(cmd: &Command, parent_fn_name: &str)
clap_complete/src/aot/shells/bash.rs:91
↓ 2 callersMethodallow_negative_numbers
(self, yes: bool)
clap_builder/src/builder/arg.rs:1575
↓ 2 callersMethodand_suggest
Extend the suggestions
clap_builder/src/builder/value_parser.rs:2182
↓ 2 callersMethodappend_val
(&mut self, val: AnyValue, raw_val: OsString)
clap_builder/src/parser/matches/matched_arg.rs:116
↓ 2 callersMethodapply_styles
(&mut self)
clap_derive/src/utils/doc_comments.rs:207
↓ 2 callersFunctionarg_conflicts
(cmd: &Command, arg: &Arg, app_global: Option<&Command>)
clap_complete/src/aot/shells/zsh.rs:508
↓ 2 callersMethodargs
(&self)
clap_bench/benches/complex.rs:125
↓ 2 callersMethodas_ref
(&self)
clap_builder/src/builder/os_str.rs:171
↓ 2 callersMethodattr_kind
(&self)
clap_derive/src/item.rs:1235
↓ 2 callersMethodbefore_help
(mut self, help: impl IntoResettable<StyledStr>)
clap_builder/src/builder/command.rs:2070
↓ 2 callersFunctionbuild_help
Build the help text of an application.
clap_bench/benches/ripgrep.rs:276
↓ 2 callersMethodcandidates
All potential candidates for an argument. See [`CompletionCandidate`] for more information.
clap_complete/src/engine/custom.rs:156
↓ 2 callersFunctioncli
()
examples/git.rs:7
↓ 2 callersFunctioncmd
()
examples/tutorial_builder/05_01_assert.rs:13
↓ 2 callersFunctioncmd
Build a clap application parameterized by usage strings. The function given should take a clap argument name and return a help string. `cmd` will pan
clap_bench/benches/ripgrep.rs:288
↓ 2 callersMethodcmp
(&self, other: &Self)
clap_builder/src/builder/debug_asserts.rs:432
↓ 2 callersFunctioncommon_app
()
clap_complete/src/aot/generator/utils.rs:150
↓ 2 callersMethodcomplete
Process the completion request and exit Warning:** `stdout` should not be written to before this has had a chance to run.
clap_complete/src/env/mod.rs:185
↓ 2 callersFunctioncomplete_arg_value
( value: Result<&str, &OsStr>, arg: &clap::Arg, current_dir: Option<&std::path::Path>, arg_ind
clap_complete/src/engine/complete.rs:346
↓ 2 callersFunctioncomplete_candidates_str
( value: &str, mut values: Vec<CompletionCandidate>, )
clap_complete/src/engine/complete.rs:456
↓ 2 callersFunctioncomplete_path
( value_os: &OsStr, current_dir: Option<&std::path::Path>, is_wanted: &dyn Fn(&std::path::Path) ->
clap_complete/src/engine/custom.rs:327
↓ 2 callersMethodcompleter
Override the binary to call to get completions Default: `args_os()[0]`
clap_complete/src/env/mod.rs:168
↓ 2 callersMethodconflicts_with_all
(mut self, ns: impl IntoIterator<Item = impl Into<Id>>)
clap_builder/src/builder/arg_group.rs:508
↓ 2 callersMethodcontains_key
(&self, key: &Q)
clap_builder/src/util/flat_map.rs:42
↓ 2 callersMethodcurrent_dir
Override [`std::env::current_dir`]
clap_complete/src/engine/custom.rs:299
↓ 2 callersFunctiondefault_action
(field_type: &Type, span: Span)
clap_derive/src/item.rs:1178
↓ 2 callersFunctiondefault_value_parser
(inner_type: &Type, span: Span)
clap_derive/src/item.rs:1146
↓ 2 callersFunctiondid_you_mean
(v: &str, possible_values: I)
clap_builder/src/parser/features/suggestions.rs:8
↓ 2 callersFunctiondid_you_mean
(styled: &mut StyledStr, styles: &Styles, context: &str, possibles: &ContextValue)
clap_builder/src/error/format.rs:471
↓ 2 callersMethoddisplay_name
(mut self, name: impl IntoResettable<String>)
clap_builder/src/builder/command.rs:1918
↓ 2 callersMethoddisplay_order
Sort weight within a [`CompletionCandidate::tag`]
clap_complete/src/engine/candidate.rs:50
↓ 2 callersMethodend_bound
(&self)
clap_builder/src/builder/range.rs:129
↓ 2 callersMethodendline
(&mut self)
clap_derive/src/utils/doc_comments.rs:161
↓ 2 callersFunctioneq_ignore_case
(left: &str, right: &str)
clap_builder/src/util/mod.rs:35
↓ 2 callersFunctionescape_help
Escape help string inside single quotes and brackets
clap_complete/src/aot/shells/zsh.rs:430
↓ 2 callersFunctionescape_help
(help: Option<&StyledStr>, data: T)
clap_complete/src/aot/shells/powershell.rs:69
↓ 2 callersFunctionescape_string
Escape string inside single quotes
clap_complete/src/aot/shells/fish.rs:55
↓ 2 callersMethodextend_unchecked
(&mut self, iter: impl IntoIterator<Item = (K, V)>)
clap_builder/src/util/flat_map.rs:36
← previousnext →401–500 of 3,258, ranked by callers