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 idrequired

Options

--literal <value>Literal; repeatableoptional
--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-runPreview; no item/history editsoptional
--author <value>Authoroptional
--message <value>Audit marker messageoptional
--forceOverride owner/lockoptional

Examples

pm history redact --help

Related commands