Skip to main content

handle_export_okf

Function handle_export_okf 

Source
pub fn handle_export_okf(project_root: &str, out: Option<&str>) -> String
Expand description

Exports the project’s current knowledge as an Open Knowledge Format (OKF) bundle — a directory of Markdown files, portable and vendor-neutral. Renders from the shared crate::core::knowledge::KnowledgeSnapshot, so it never disagrees with a ctxpkg export on what the knowledge is. out is the target directory (defaults to the data dir’s exports/okf/<hash>).