pub fn run_args<I>(args: I, cwd: &Path) -> Result<String>where I: IntoIterator<Item = OsString>,
Run kg with CLI arguments, returning the rendered output as a string.
This is useful for embedding kg in other applications.