所有命令 · evidence

pm item comments

List, add, edit, or delete comments for an item.

Adds or reviews lightweight status updates linked to an item.

用法

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

参数

<id>Item id必填
<text>Optional comment text shorthand (equivalent to --add)可选

选项

--add <text>Append comment text; use text=<value> for structured input or - for stdin可选
--stdinRead comment text from stdin (supports multiline markdown)可选
--file <path>Read comment text from a file or stdin (-)可选
--edit <index>Replace one comment using positional text, --add, --stdin, or --file可选
--delete <index>Delete the comment at 1-based <index>可选
--limit <n>Return only latest n comments可选
--full-historyReturn complete comment history instead of a bounded mutation receipt可选
--if-absentAppend only when resolved author and text are absent可选
--author [value]Comment author; defaults to PM_AUTHOR or settings可选
--message <value>History message可选
--forceForce ownership override可选

示例

pm item comments pm-a1b2 "Verified fix on Linux and macOS"

相关命令