async fn build_directory(
input_dir: &Path,
output: Option<PathBuf>,
recursive: bool,
log: &LogSender,
tera: &Tera,
formats: &[OutputFormat],
) -> Result<Vec<ArtifactPath>>async fn build_directory(
input_dir: &Path,
output: Option<PathBuf>,
recursive: bool,
log: &LogSender,
tera: &Tera,
formats: &[OutputFormat],
) -> Result<Vec<ArtifactPath>>