pub fn save(
directory: &Path,
profile: &Profile,
catalog: &Catalog,
) -> Result<PathBuf, ProfileError>Expand description
Write a profile into directory under its name’s slug; an existing one
of that name is replaced. Returns the file.