pub fn print_command(
    format: Format,
    color: Option<bool>,
    command: &dyn Dispatch
) -> Result<()>