Add --output CLI flag for roc docs

This commit is contained in:
Richard Feldman 2023-10-19 17:21:27 -04:00
parent 77d2136d00
commit a96752a65a
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B
4 changed files with 18 additions and 8 deletions

View file

@ -20,7 +20,10 @@ fn main() -> io::Result<()> {
.get_matches();
// Populate roc_files
generate_docs_html(matches.get_one::<PathBuf>(ROC_FILE).unwrap().to_owned());
generate_docs_html(
matches.get_one::<PathBuf>(ROC_FILE).unwrap().to_owned(),
&PathBuf::from("./generated-docs"),
);
Ok(())
}