所有命令 · evidence

pm item notes

Manage merge-safe text notes and JSON context events.

Adds or reviews durable implementation notes linked to an item.

用法

pm item notes [options] <id> [text]

参数

<id>Item id必填
<text>Optional note text shorthand for --add可选

选项

--add <text>Add a text note (- reads stdin)可选
--add-json <json>Append a JSON event可选
--stdinRead note text from stdin可选
--file <path>Read note from file or stdin (-)可选
--edit <index>Replace a 1-based note using the selected text input可选
--delete <index>Delete the note at 1-based <index>可选
--limit <n>Return only latest n notes可选
--since <timestamp>Filter JSON events from this ISO time可选
--event-type <value>Filter JSON events by top-level type可选
--include-metaInclude count and truncation metadata可选
--full-historyReturn complete note history instead of a bounded receipt可选
--if-absentAppend only when resolved author and text are absent可选
--author [value]Author; defaults to PM_AUTHOR/settings可选
--message <value>History message可选
--forceForce ownership override可选

示例

pm item notes pm-a1b2 --add "Investigated parser edge case and documented fallback logic."

相关命令