@mx-space/cli 0.7.5 → 0.7.7
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 +19 -0
- package/dist/bin/mxs.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{mxs-BI2QVW9I.mjs → mxs-vbxEu09D.mjs} +359 -271
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -239,6 +239,8 @@ URL follows the admin-vue3 hash-router convention
|
|
|
239
239
|
| `--state <state>` | Publication filter. |
|
|
240
240
|
| `--sort <field>` | Sort field passed as `sortBy`. |
|
|
241
241
|
|
|
242
|
+
`mxs note list --output llm` emits one compact metadata block per note and omits full note bodies.
|
|
243
|
+
|
|
242
244
|
### Note Write Flags
|
|
243
245
|
|
|
244
246
|
| Flag | Field |
|
|
@@ -333,10 +335,27 @@ Moderation commands for the comment queue. `state` is one of `unread`, `read`, o
|
|
|
333
335
|
| `mxs comment list` | List comments (default `--state unread`). |
|
|
334
336
|
| `mxs comment unread` | Shortcut for `comment list --state unread` (accepts `--page` / `--size`). |
|
|
335
337
|
| `mxs comment get <id>` | Show a single comment by id. |
|
|
338
|
+
| `mxs comment reply <id> --text <s>` | Post an owner reply to a comment. |
|
|
336
339
|
| `mxs comment approve <id...>` | Mark one or more comments as read (state→1). |
|
|
337
340
|
| `mxs comment reject <id...>` | Mark one or more comments as junk (state→2). |
|
|
338
341
|
| `mxs comment delete <id...>` | Soft-delete one or more comments. |
|
|
339
342
|
|
|
343
|
+
### Comment Reply Flags
|
|
344
|
+
|
|
345
|
+
| Flag | Description |
|
|
346
|
+
| -------------- | ------------------------------------------------------------------------------------------- |
|
|
347
|
+
| `--text <s>` | Reply text. Accepts inline literal, `file=<path>`, or `-` / `stdin` to read from stdin. |
|
|
348
|
+
| `--whispers` | Mark this reply as whispers (owner-only visible). |
|
|
349
|
+
| `--silent` | On success, emit a minimal `{ ok: true }` instead of the full server response. |
|
|
350
|
+
|
|
351
|
+
Examples:
|
|
352
|
+
|
|
353
|
+
```bash
|
|
354
|
+
mxs comment reply 141088044533944320 --text "thanks for reading"
|
|
355
|
+
mxs comment reply 141088044533944320 --text file=reply.md --silent
|
|
356
|
+
echo "stdin body" | mxs comment reply 141088044533944320 --text -
|
|
357
|
+
```
|
|
358
|
+
|
|
340
359
|
### Comment List Flags
|
|
341
360
|
|
|
342
361
|
| Flag | Description |
|
package/dist/bin/mxs.mjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as defaultMessageFor, c as tagToCode, i as codeForTag, l as toErrorEnvelope, n as defaultGlobalFlags, o as exitCodeForError, r as parseGlobalFlags, s as exitCodeForTag, t as run } from "./mxs-
|
|
1
|
+
import { a as defaultMessageFor, c as tagToCode, i as codeForTag, l as toErrorEnvelope, n as defaultGlobalFlags, o as exitCodeForError, r as parseGlobalFlags, s as exitCodeForTag, t as run } from "./mxs-vbxEu09D.mjs";
|
|
2
2
|
export { codeForTag, defaultGlobalFlags, defaultMessageFor, exitCodeForError, exitCodeForTag, parseGlobalFlags, run, tagToCode, toErrorEnvelope };
|