Skip to main content

Module cli

Module cli 

Source
Expand description

CLI application assembly and execution.

Structs§

BuildInfo
Build metadata shown by the root --version flag.
Cli
Configured CLI application.
CliConfig
Declarative configuration for a CLI application.
CliRunOutput
Captured result of running a CLI in tests or embedding contexts.
ModuleHelpEntry
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§

ApplyFlags
Hook used to copy parsed application-specific flags into middleware.
ExtraSearchDocs
Hook that contributes extra root-scope --search documents.
InitDeps
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.
RegisterFlags
Hook used to add application-specific global flags to the root clap command.
ResolveMeta
Hook used to adjust command metadata globally before middleware executes.