sofie-cli 0.2.0

The `sofie` command: gen, check and the tools reading the app model.
Documentation
1
2
3
4
5
6
7
8
9
10
use std::path::Path;
use std::process::ExitStatus;

use crate::dev_command::run_development;
use crate::gen_command::GenError;

/// Run through the app's own binary, the only one knowing its aggregates.
pub fn check_schema(root: &Path) -> Result<ExitStatus, GenError> {
    run_development(root, &["schema", "check"])
}