Re-exportsยง
pub use app_cmds::AppCmds;pub use aux_cmds::AuxCmds;pub use extensions::Extension;pub use extensions::ExtensionTOML;pub use extensions::Extensions;pub use helps::CmdHelps;pub use helps::CmdSrc;pub use plugins::Plugins;
Modulesยง
Macrosยง
- add_
mode_ ๐opt - add_
target_ ๐opt - cache ๐
- conflict_
err_ ๐msg - processing_
exts ๐
Structsยง
Constantsยง
- HELP_
OPT_ NAME - HELP_
OPT_ SHORT_ NAME - MODE_
OPT_ NAME - NO_
TARGET_ OPT_ ALIAS - NO_
TARGET_ OPT_ NAME - REF_
DIR_ OPT_ LNAS - RESERVED_
OPT_ NAMES - RESERVED_
OPT_ SHORT_ NAMES - TARGET_
OPT_ ALIAS - TARGET_
OPT_ NAME - TARGET_
OPT_ SN - VERBOSITY_
KEYWORDS_ OPT_ LONG_ NAME - VERBOSITY_
KEYWORDS_ OPT_ NAME - VERBOSITY_
OPT_ LNA - VERBOSITY_
OPT_ NAME - VERBOSITY_
OPT_ SHORT_ NAME - VOV_
OPT_ NAME
Staticsยง
- VERBOSITY_
HELP_ ๐STR - VERBOSITY_
KEYWORD_ ๐HELP_ STR
Traitsยง
Functionsยง
- add_
all_ app_ opts - add_
app_ opts - add_
verbosity_ opts - apply_
args ๐ - apply_
opts ๐ - build_
commands ๐ - build_
path - promote_
leading_ ๐positionals - Clap rejects a definition in which an optional positional precedes a required one, because filling positionals in order makes it impossible to tell which argument a lone value belongs to. Clap 3 silently accepted the definition and then always filled the earlier positional first, so it was effectively required regardless of how it was declared. Promote those arguments so the declaration matches the behavior users already had, and say so, rather than aborting on a parser assertion.