@mx-space/cli 0.7.4 → 0.7.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 CHANGED
@@ -333,10 +333,27 @@ Moderation commands for the comment queue. `state` is one of `unread`, `read`, o
333
333
  | `mxs comment list` | List comments (default `--state unread`). |
334
334
  | `mxs comment unread` | Shortcut for `comment list --state unread` (accepts `--page` / `--size`). |
335
335
  | `mxs comment get <id>` | Show a single comment by id. |
336
+ | `mxs comment reply <id> --text <s>` | Post an owner reply to a comment. |
336
337
  | `mxs comment approve <id...>` | Mark one or more comments as read (state→1). |
337
338
  | `mxs comment reject <id...>` | Mark one or more comments as junk (state→2). |
338
339
  | `mxs comment delete <id...>` | Soft-delete one or more comments. |
339
340
 
341
+ ### Comment Reply Flags
342
+
343
+ | Flag | Description |
344
+ | -------------- | ------------------------------------------------------------------------------------------- |
345
+ | `--text <s>` | Reply text. Accepts inline literal, `file=<path>`, or `-` / `stdin` to read from stdin. |
346
+ | `--whispers` | Mark this reply as whispers (owner-only visible). |
347
+ | `--silent` | On success, emit a minimal `{ ok: true }` instead of the full server response. |
348
+
349
+ Examples:
350
+
351
+ ```bash
352
+ mxs comment reply 141088044533944320 --text "thanks for reading"
353
+ mxs comment reply 141088044533944320 --text file=reply.md --silent
354
+ echo "stdin body" | mxs comment reply 141088044533944320 --text -
355
+ ```
356
+
340
357
  ### Comment List Flags
341
358
 
342
359
  | Flag | Description |
package/dist/bin/mxs.mjs CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
- import { t as run } from "../mxs-CS9xZ2tO.mjs";
2
+ import { t as run } from "../mxs-BjEC9s9q.mjs";
3
3
  export { run };
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-CS9xZ2tO.mjs";
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-BjEC9s9q.mjs";
2
2
  export { codeForTag, defaultGlobalFlags, defaultMessageFor, exitCodeForError, exitCodeForTag, parseGlobalFlags, run, tagToCode, toErrorEnvelope };