Todos los comandos · evidence
pm history redact
Redact sensitive literals/patterns from an item history stream and recompute hashes.
Redact sensitive literals/patterns from an item history stream and recompute hashes.
Uso
pm history redact [options] <id>Argumentos
| <id> | Item id | obligatorio |
|---|
Opciones
| --literal <value> | Literal string to redact (repeatable) | opcional |
|---|---|---|
| --regex <value> | Regex pattern to redact (repeatable; accepts /pattern/flags or raw pattern) | opcional |
| --replacement <value> | Replacement string (default: "[redacted]") | opcional |
| --dry-run | Preview redaction impact without writing item/history files | opcional |
| --author <value> | Mutation author | opcional |
| --message <value> | Audit history message for the redaction marker entry | opcional |
| --force | Force ownership/lock override | opcional |
Ejemplos
pm history redact --help