Expand description
CLI application assembly and execution.
Structs§
- Build
Info - Build metadata shown by the root
--versionflag. - Cli
- Configured CLI application.
- CliConfig
- Declarative configuration for a CLI application.
- CliRun
Output - Captured result of running a CLI in tests or embedding contexts.
- Module
Help Entry - One module row in root long help.
Functions§
- build_
root_ long - Builds the root long help text from module categories and built-in command hints.
Type Aliases§
- Apply
Flags - Hook used to copy parsed application-specific flags into middleware.
- Extra
Search Docs - Hook that contributes extra root-scope
--searchdocuments. - Init
Deps - Late dependency initializer run once before real command execution.
- OnShutdown
- Hook called after a CLI run completes.
- PreRun
- Hook run immediately before executable commands and built-ins.
- Register
Flags - Hook used to add application-specific global flags to the root
clapcommand. - Resolve
Meta - Hook used to adjust command metadata globally before middleware executes.