Skip to main content

run_args

Function run_args 

Source
pub fn run_args<I>(args: I, cwd: &Path) -> Result<String>
where I: IntoIterator<Item = OsString>,
Expand description

Run kg with CLI arguments, returning the rendered output as a string.

This is useful for embedding kg in other applications.