pub fn run( store_root: &Path, file: &Path, new_type: DocType, output: &dyn CliOutput, ) -> Result<()>