pub fn write_pack( project_dir: &Path, pack_md: &str, meta: &PackMetadata, ) -> Result<()>
Write hot.md and hot.meta.json to the packs directory.