pub async fn execute_cli<W: Write>(cli: Cli, writer: &mut W) -> Result<CliExit>Expand description
Dispatches the parsed Cli to the concrete command handlers.
The function mirrors the binary’s subcommand list so that the CLI can be
exercised from tests or other binaries by composing Cli + a writer that,
for example, records output instead of writing to stdout.