All commands · 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.

Usage

pm history redact [options] <id>

Arguments

<id>Item idrequired

Options

--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-runPreview redaction impact without writing item/history filesoptional
--author <value>Mutation authoroptional
--message <value>Audit history message for the redaction marker entryoptional
--forceForce ownership/lock overrideoptional

Examples

pm history redact --help

Related commands