Skip to main content

BUILTIN_PRERUN_HOOKS

Static BUILTIN_PRERUN_HOOKS 

Source
pub static BUILTIN_PRERUN_HOOKS: DistributedSlice<[PreRunHook]>
Expand description

Link-time registry of PreRunHooks run before command dispatch.

rtb-cli::Application::run awaits each registered hook (in unspecified order) after parsing succeeds and before dispatching the matched command. See PreRunHook for the contract.