pub fn persist_env_value(key: &str, value: &str) -> Result<(), PathError>
Persist a key=value pair into the .env file.
.env
If the key already exists, its value is updated. If the key doesn’t exist, it is appended to the file.