pub fn redact_command(args: &[String]) -> Vec<String>Expand description
Redact command-line arguments that may contain secrets.
Replaces values following flags whose names suggest sensitive content
(e.g. --password, --token, --secret, --key, --auth) with
[REDACTED], and redacts arguments that look like inline KEY=VALUE
assignments for those same patterns.