StructsΒ§
- Global
Args - Global arguments for the CLI.
ConstantsΒ§
- VALUE_
TAKING_ πGLOBAL_ OPTIONS - Value-taking global options declared on
GlobalArgs; their following argv token is the value, not a flag, and must not be considered by the pre-parse scan. Must stay in sync with the#[arg(... long, short)]declarations above.
FunctionsΒ§
- emit_
introspect_ πand_ exit - init_
thread_ pool - Initialize the global thread pool.
- pre_
parse_ πflag_ present - Returns whether
flagis present among the binaryβs leading top-level options. - pre_
parse_ πflag_ present_ in - pre_
parse_ πglobal_ flag_ present - Like
pre_parse_flag_presentbut scans past subcommands/positionals, honoringclapβsglobal = trueplacement (e.g.cast call --machine --help). Still stops at--and skips values of known value-taking globals. - pre_
parse_ πglobal_ flag_ present_ in