Skip to main content

write_envrc

Function write_envrc 

Source
pub fn write_envrc(vault_name: &str) -> Result<EnvrcStatus, String>
Expand description

Write a .envrc file for direnv integration.

If .envrc exists and already contains murk export, returns AlreadyPresent. If it exists but doesn’t, appends the line. Otherwise creates the file.