pub fn redact_argv<S: AsRef<str>>(args: &[S]) -> Vec<String>Expand description
Redact secret values out of a command line, using default options.
Returns args with the value of every _secret-suffixed long flag replaced
by ***, covering both --flag=value and --flag value. Use
Redactor::argv for custom secret_names or a non-default policy.
Intended for CLIs that record their own invocation — startup diagnostics, audit trails, crash reports — where writing argv verbatim would put a credential in the log.