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
flatten_recursive
()
tests/builder/help.rs:3940
Function
flatten_short_help
()
tests/builder/help.rs:3518
Function
flatten_single_hidden_command
()
tests/builder/help.rs:3861
Function
flatten_skipped_group
()
tests/derive/flatten.rs:328
Function
flatten_twice
()
tests/derive/flatten.rs:47
Function
flatten_with_args_conflicts_with_subcommands
()
tests/builder/help.rs:3823
Function
flatten_with_doc_comment
()
tests/derive/flatten.rs:195
Function
flatten_with_external_subcommand
()
tests/builder/help.rs:3730
Function
flatten_with_global
()
tests/builder/help.rs:3658
Function
flatten_with_subcommand_required
()
tests/builder/help.rs:3787
Function
flatten_without_subcommands
()
tests/builder/help.rs:3767
Function
flattened_and_nested_subcommands
()
tests/derive/defer.rs:117
Function
flattened_enum_display_order
()
tests/derive/help.rs:351
Function
flattened_enum_parent_doc_comments
()
tests/derive/flatten.rs:260
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
tests/derive/custom_string_parsers.rs:100
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
examples/git-derive.rs:70
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
examples/typed-derive/implicit.rs:39
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
examples/typed-derive/custom.rs:20
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
examples/typed-derive/foreign_crate.rs:11
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
examples/tutorial_builder/04_01_enum.rs:24
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
clap_bench/benches/complex.rs:131
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
clap_builder/src/output/fmt.rs:80
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
clap_builder/src/parser/error.rs:39
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
clap_builder/src/builder/command.rs:5249
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
clap_builder/src/builder/styled_str.rs:214
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
clap_builder/src/builder/str.rs:116
Method
fmt
(&self, f: &mut Formatter<'_>)
clap_builder/src/builder/arg.rs:4791
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
clap_builder/src/builder/range.rs:193
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
clap_builder/src/builder/os_str.rs:155
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
clap_builder/src/builder/value_parser.rs:567
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
clap_builder/src/error/kind.rs:362
Method
fmt
(&self, f: &mut Formatter<'_>)
clap_builder/src/error/mod.rs:831
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
clap_builder/src/error/context.rs:68
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
clap_builder/src/util/escape.rs:22
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
clap_builder/src/util/id.rs:97
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
clap_builder/src/util/color.rs:70
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
clap_builder/src/util/any_value.rs:36
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
clap_complete/src/engine/custom.rs:81
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
clap_complete/src/aot/shells/shell.rs:29
Method
for_app
(kind: ErrorKind, cmd: &Command, styled: StyledStr)
clap_builder/src/error/mod.rs:305
Function
force_long_help
()
tests/derive/doc_comments_help.rs:456
Method
format_bounds
(&self)
clap_builder/src/builder/value_parser.rs:1377
Method
format_error
(error: &crate::error::Error<Self>)
clap_builder/src/error/format.rs:40
Method
from
(ident: Ident)
clap_derive/src/utils/spanned.rs:43
Method
from
(val: I)
clap_lex/src/lib.rs:267
Method
from
(other: String)
examples/find.rs:117
Method
from
(cmd: &'_ Self)
clap_builder/src/builder/command.rs:5243
Method
from
(name: String)
clap_builder/src/builder/styled_str.rs:162
Method
from
(id: &'_ Self)
clap_builder/src/builder/str.rs:49
Method
from
(a: &Self)
clap_builder/src/builder/arg.rs:4765
Method
from
(fixed: usize)
clap_builder/src/builder/range.rs:141
Method
from
(other: S)
clap_builder/src/builder/arg_predicate.rs:16
Method
from
(other: T)
clap_builder/src/builder/resettable.rs:50
Method
from
(id: &'_ Self)
clap_builder/src/builder/os_str.rs:51
Method
from
(s: S)
clap_builder/src/builder/possible_value.rs:232
Method
from
(p: P)
clap_builder/src/builder/value_parser.rs:298
Method
from
(g: &Self)
clap_builder/src/builder/arg_group.rs:532
Method
from
(e: io::Error)
clap_builder/src/error/mod.rs:819
Method
from
(id: &'_ Self)
clap_builder/src/util/id.rs:33
Method
from
(_: &'a A)
clap_builder/src/util/any_value.rs:104
Method
from
(s: S)
clap_complete/src/engine/candidate.rs:110
Method
from_arg_matches
(matches: &ArgMatches)
examples/derive_ref/hand_subcommand.rs:23
Method
from_arg_matches
(matches: &ArgMatches)
examples/derive_ref/flatten_hand_args.rs:12
Method
from_arg_matches
(matches: &ArgMatches)
clap_builder/src/derive.rs:352
Method
from_arg_matches_mut
(matches: &mut ArgMatches)
examples/derive_ref/flatten_hand_args.rs:16
Method
from_arg_matches_mut
Instantiate `Self` from [`ArgMatches`], parsing the arguments as needed. Motivation: If our application had two CLI options, `--name <STRING>` and th
clap_builder/src/derive.rs:201
Method
from_arg_matches_mut
(matches: &mut ArgMatches)
clap_builder/src/derive.rs:355
Method
from_args
/ Create an argument list to parse <div class="warning"> NOTE:** The argument returned will be the current binary. </div> # Example ```rust,no_ru
clap_lex/src/lib.rs:153
Method
from_args_field
( field: &Field, struct_casing: Sp<CasingStyle>, env_casing: Sp<CasingStyle>, )
clap_derive/src/item.rs:204
Method
from_args_struct
(input: &DeriveInput, name: Name)
clap_derive/src/item.rs:57
Function
from_cow_borrowed
()
clap_builder/src/builder/styled_str.rs:275
Function
from_cow_borrowed
()
clap_builder/src/builder/str.rs:336
Function
from_cow_borrowed
()
clap_builder/src/builder/os_str.rs:351
Function
from_cow_borrowed
()
clap_builder/src/util/id.rs:182
Function
from_cow_owned
()
clap_builder/src/builder/styled_str.rs:282
Function
from_cow_owned
()
clap_builder/src/builder/str.rs:344
Function
from_cow_owned
()
clap_builder/src/builder/os_str.rs:359
Function
from_cow_owned
()
clap_builder/src/util/id.rs:190
Method
from_env
(ident: Ident, env_var: &str)
clap_derive/src/item.rs:1271
Method
from_env
Determine the user's current shell from the environment This will read the SHELL environment variable and try to determine which shell is in use from
clap_complete/src/aot/shells/shell.rs:139
Function
from_fixed
()
clap_builder/src/builder/range.rs:219
Function
from_fixed_empty
()
clap_builder/src/builder/range.rs:230
Method
from_iter
(_: T)
tests/derive/issues.rs:149
Method
from_iter
(iter: I)
clap_builder/src/util/flat_set.rs:104
Method
from_lit
(name: &LitStr)
clap_derive/src/item.rs:1434
Method
from_matches
(matches: &ArgMatches)
examples/find.rs:61
Function
from_range
()
clap_builder/src/builder/range.rs:241
Function
from_range_from
()
clap_builder/src/builder/range.rs:274
Function
from_range_full
()
clap_builder/src/builder/range.rs:263
Function
from_range_inclusive
()
clap_builder/src/builder/range.rs:252
Function
from_range_to
()
clap_builder/src/builder/range.rs:285
Function
from_range_to_inclusive
()
clap_builder/src/builder/range.rs:296
Method
from_ref
(name: &str)
clap_builder/src/builder/str.rs:26
Method
from_ref
(name: &std::ffi::OsStr)
clap_builder/src/builder/os_str.rs:27
Method
from_shell_path
Parse a shell from a path to the executable for the shell # Examples ``` use clap_complete::shells::Shell; assert_eq!(Shell::from_shell_path("/bin/
clap_complete/src/aot/shells/shell.rs:113
Method
from_static_ref
(name: &'static str)
clap_builder/src/builder/str.rs:32
Method
from_static_ref
(name: &'static std::ffi::OsStr)
clap_builder/src/builder/os_str.rs:33
Method
from_static_ref
(name: &'static str)
clap_builder/src/util/id.rs:18
Method
from_str
(_: &str)
tests/derive/issues.rs:144
Method
from_str
(s: &str)
tests/derive/flags.rs:225
← previous
next →
1,601–1,700 of 3,258, ranked by callers