Files
cjdic2/src-core/examples/yomitan_update_schema.rs
T

17 lines
311 B
Rust

use anyhow::Ok;
use cjdic2_core::{AppService, Timer};
mod common;
use common::get_db_dir;
fn main() -> Result<(), anyhow::Error> {
let service = AppService::new(get_db_dir())?;
{
let _timer = Timer::new("update schema".to_string());
service.get_yomitan_writer()?;
}
Ok(())
}