Skip to main content

sofie_cli/
schema_command.rs

1use std::path::Path;
2use std::process::ExitStatus;
3
4use crate::dev_command::run_development;
5use crate::gen_command::GenError;
6
7/// Run through the app's own binary, the only one knowing its aggregates.
8pub fn check_schema(root: &Path) -> Result<ExitStatus, GenError> {
9    run_development(root, &["schema", "check"])
10}