All commands · evidence
pm history redact
Redact and reseal item history.
Redact and reseal item history.
Usage
pm history redact [options] <id>Arguments
| <id> | Item id | required |
|---|
Options
| --literal <value> | Literal; repeatable | optional |
|---|---|---|
| --regex <value> | Raw RegExp source (repeatable; e.g. /var/[a-z]+) or /pattern/flags. Leading-slash input is a literal only when the final unescaped slash is followed by supported JavaScript flag letters or nothing. | optional |
| --replacement <value> | Default: "[redacted]" | optional |
| --dry-run | Preview; no item/history edits | optional |
| --author <value> | Author | optional |
| --message <value> | Audit marker message | optional |
| --force | Override owner/lock | optional |
Examples
pm history redact --help