pub async fn write_tree<I, O>(input: I, output: Option<O>) -> Result<()>where I: AsRef<Path>, O: AsRef<Path>,
Output reference tree to stdout/file.
output
If the extension is not hkx or xml.
hkx
xml