pub fn write_config(conf: &str) -> Result<()>
Write config to the main repository directory (always in repo root)