@seed-hypermedia/cli 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -0
- package/dist/index.js +1661 -4929
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -688,6 +688,35 @@ reply, the thread root is inherited. Otherwise, the parent comment itself become
|
|
|
688
688
|
|
|
689
689
|
---
|
|
690
690
|
|
|
691
|
+
### comment edit
|
|
692
|
+
|
|
693
|
+
Edit an existing comment.
|
|
694
|
+
|
|
695
|
+
```
|
|
696
|
+
seed-cli comment edit <commentId> [options]
|
|
697
|
+
```
|
|
698
|
+
|
|
699
|
+
| Option | Description |
|
|
700
|
+
| ------------------ | ------------------------------ |
|
|
701
|
+
| `--body <text>` | Updated comment text (inline) |
|
|
702
|
+
| `--file <path>` | Read updated text from file |
|
|
703
|
+
| `-k, --key <name>` | Signing key name or account ID |
|
|
704
|
+
|
|
705
|
+
**Examples:**
|
|
706
|
+
|
|
707
|
+
```bash
|
|
708
|
+
# Edit inline
|
|
709
|
+
seed-cli comment edit z6MkAuthor.../zb2rComment... --body "Updated wording" --key reviewer
|
|
710
|
+
|
|
711
|
+
# Edit from file
|
|
712
|
+
seed-cli comment edit z6MkAuthor.../zb2rComment... --file review-update.txt --key reviewer
|
|
713
|
+
```
|
|
714
|
+
|
|
715
|
+
The CLI preserves reply threading metadata for replies and keeps the block-level anchor wrapper for comments that were
|
|
716
|
+
originally attached to a specific block.
|
|
717
|
+
|
|
718
|
+
---
|
|
719
|
+
|
|
691
720
|
### comment delete
|
|
692
721
|
|
|
693
722
|
Delete a comment by publishing a tombstone.
|