Skip to main content

save_credentials

Function save_credentials 

Source
pub fn save_credentials(credentials: &DatadogCredentials) -> Result<()>
Expand description

Saves Datadog credentials to ~/.omni-dev/settings.json.

Reads the existing settings file, merges the three credential keys into the env map, and writes back. Preserves all other settings.