pub fn mask_sensitive_command(cmd: &str) -> StringExpand description
Mask sensitive patterns in a command string before logging.
This prevents accidental exposure of API keys, passwords, and tokens that may be present in environment variables or command arguments.