Alle Befehle · evidence
pm item learnings
List, add, edit, or delete learnings for an item.
Adds or reviews post-implementation learnings for future work.
Aufruf
pm item learnings [options] <id> [text]Argumente
| <id> | Item id | erforderlich |
|---|---|---|
| <text> | Optional learning text shorthand for --add | optional |
Optionen
| --add <text> | Append learning text; use text=<value> or - for stdin | optional |
|---|---|---|
| --stdin | Read learning text from stdin | optional |
| --file <path> | Read learning text from a file or stdin (-) | optional |
| --edit <index> | Replace one learning using positional text, --add, --stdin, or --file | optional |
| --delete <index> | Delete the learning at 1-based <index> | optional |
| --limit <n> | Return only latest n learnings | optional |
| --full-history | Return complete learning history instead of a bounded receipt | optional |
| --if-absent | Append only when resolved author and text are absent | optional |
| --author [value] | Learning author (optional; falls back to PM_AUTHOR/settings) | optional |
| --message <value> | History message | optional |
| --force | Force ownership override | optional |
Beispiele
pm item learnings pm-a1b2 --add "Avoid direct test-runner commands in linked tests; use sandbox runner."