所有命令 · lifecycle
pm close delete
Delete an item and record the change in history.
Removes an item while preserving history evidence and lock/ownership checks.
用法
pm close delete [options] <id>参数
| <id> | Item id | 必填 |
|---|
选项
| --author <value> | Mutation author | 可选 |
|---|---|---|
| --message <value> | History message | 可选 |
| --force | Force ownership override | 可选 |
| --dry-run | Preview the item file that would be deleted without mutating | 可选 |
示例
pm close delete pm-a1b2 --message "Remove duplicate item"