Skip to main content

main_with

Function main_with 

Source
pub fn main_with(registry: ProviderRegistry) -> ExitCode
Expand description

Parse the CLI, install logging, and drive one session to its exit code — the whole binary, minus fn main. Custom providers come in through registry; the stock binary passes ProviderRegistry::builtin.