pub fn write(command: &Command, out: &mut impl Write) -> Result<(), CliError>Expand description
Routes the two generator commands.
Shared by src/main.rs (which answers them before opening anything) and by
crate::cli::dispatch (which stays a total function over Command), so
the match is spelled once rather than in both.
ยงPanics
On any other Command. The two callers both match first; this is the arm
that says so out loud rather than silently generating the wrong thing.