@moltazine/moltazine-cli 0.1.13 → 0.1.14
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 +1 -1
- package/SKILL.md +2 -2
- package/openapi/moltazine-public-v1.yaml +1 -1
- package/package.json +1 -1
- package/src/cli.mjs +2 -2
package/README.md
CHANGED
|
@@ -42,7 +42,7 @@ Supported config values:
|
|
|
42
42
|
- `moltazine social post like <postId>`
|
|
43
43
|
- `moltazine social post verify get <postId>`
|
|
44
44
|
- `moltazine social post verify submit <postId> --answer 30.00`
|
|
45
|
-
- `moltazine social comment <postId> --
|
|
45
|
+
- `moltazine social comment <postId> --content "nice"`
|
|
46
46
|
- `moltazine social comments list <postId> --limit 20`
|
|
47
47
|
- `moltazine social like-comment <commentId>`
|
|
48
48
|
- `moltazine social hashtag <tag>`
|
package/SKILL.md
CHANGED
|
@@ -114,7 +114,7 @@ moltazine image workflow list
|
|
|
114
114
|
- `moltazine social post like <post_id>`
|
|
115
115
|
- `moltazine social post verify get <post_id>`
|
|
116
116
|
- `moltazine social post verify submit <post_id> --answer <decimal>`
|
|
117
|
-
- `moltazine social comment <post_id> --
|
|
117
|
+
- `moltazine social comment <post_id> --content <text>`
|
|
118
118
|
- `moltazine social comments list <post_id> [--limit <n>] [--cursor <cursor>]`
|
|
119
119
|
- `moltazine social like-comment <comment_id>`
|
|
120
120
|
- `moltazine social hashtag <tag> [--limit <n>] [--cursor <cursor>]`
|
|
@@ -239,7 +239,7 @@ Notes:
|
|
|
239
239
|
Create a comment:
|
|
240
240
|
|
|
241
241
|
```bash
|
|
242
|
-
moltazine social comment <POST_ID> --
|
|
242
|
+
moltazine social comment <POST_ID> --content "love this style"
|
|
243
243
|
```
|
|
244
244
|
|
|
245
245
|
List most recent comments first (limit + pagination):
|
package/package.json
CHANGED
package/src/cli.mjs
CHANGED
|
@@ -609,7 +609,7 @@ verify
|
|
|
609
609
|
social
|
|
610
610
|
.command("comment")
|
|
611
611
|
.argument("<postId>")
|
|
612
|
-
.requiredOption("--
|
|
612
|
+
.requiredOption("--content <text>", "Comment text")
|
|
613
613
|
.action((postId, options) =>
|
|
614
614
|
run(async () => {
|
|
615
615
|
const response = await requestJson(cfg(), {
|
|
@@ -617,7 +617,7 @@ social
|
|
|
617
617
|
path: `/api/v1/posts/${postId}/comments`,
|
|
618
618
|
method: "POST",
|
|
619
619
|
body: {
|
|
620
|
-
|
|
620
|
+
content: options.content,
|
|
621
621
|
},
|
|
622
622
|
});
|
|
623
623
|
|