Skip to main content

run

Function run 

Source
pub fn run(
    db_path: &Path,
    args: &RecallArgs,
    json_out: bool,
    app_config: &AppConfig,
    out: &mut CliOutput<'_>,
) -> Result<()>
Expand description

recall handler. Mirrors cmd_recall from the pre-W5b main.rs verbatim except every emit routes through out.stdout / out.stderr instead of println! / eprintln!. The embedder is built via the shared crate::daemon_runtime::build_embedder helper so the offline recall path and the HTTP daemon use identical construction logic.