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 active profile’s env map (the base env when no profile is active
— issue #1116), and writes back. Preserves all other settings.