Alle Befehle · 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.
Aufruf
pm history redact [options] <id>Argumente
| <id> | Item id | erforderlich |
|---|
Optionen
| --literal <value> | Literal string to redact (repeatable) | optional |
|---|---|---|
| --regex <value> | Regex pattern to redact (repeatable; accepts /pattern/flags or raw pattern) | optional |
| --replacement <value> | Replacement string (default: "[redacted]") | optional |
| --dry-run | Preview redaction impact without writing item/history files | optional |
| --author <value> | Mutation author | optional |
| --message <value> | Audit history message for the redaction marker entry | optional |
| --force | Force ownership/lock override | optional |
Beispiele
pm history redact --help