@k-msg/cli 0.5.8 → 0.6.0
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/CHANGELOG.md +11 -0
- package/README.md +21 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @k-msg/cli
|
|
2
2
|
|
|
3
|
+
## 0.6.0 — 2026-02-18
|
|
4
|
+
|
|
5
|
+
### Minor changes
|
|
6
|
+
|
|
7
|
+
- [a63307e](https://github.com/k-otp/k-msg/commit/a63307eb4a925343b74297b8437f72caba587dff) Improve CLI send usability by clarifying raw-JSON advanced usage, adding `k-msg send --dry-run` preview mode (without provider send), and enhancing batch/error output guidance. — Thanks @imjlk!
|
|
8
|
+
- [48f2797](https://github.com/k-otp/k-msg/commit/48f27975b5734c760f5ec99701623865f28d8c8c) Feat: support batch sending via `k-msg send --input '[...]'` and persistence configuration (`strategy`, `repo`) in `k-msg.config.json`. — Thanks @imjlk!
|
|
9
|
+
|
|
10
|
+
### Patch changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies: core@0.18.1, provider@0.18.1, k-msg@0.18.1
|
|
13
|
+
|
|
3
14
|
## 0.5.8 — 2026-02-17
|
|
4
15
|
|
|
5
16
|
### Patch changes
|
package/README.md
CHANGED
|
@@ -130,7 +130,7 @@ If the env var is missing/empty, commands that need runtime providers will fail
|
|
|
130
130
|
- `k-msg providers list|health|doctor`
|
|
131
131
|
- `k-msg sms send`
|
|
132
132
|
- `k-msg alimtalk preflight|send`
|
|
133
|
-
- `k-msg send --input <json> | --file <path> | --stdin`
|
|
133
|
+
- `k-msg send --input <json> | --file <path> | --stdin` (advanced/raw JSON only)
|
|
134
134
|
- `k-msg kakao channel categories|list|auth|add`
|
|
135
135
|
- `k-msg kakao template list|get|create|update|delete|request`
|
|
136
136
|
|
|
@@ -202,10 +202,30 @@ k-msg alimtalk preflight \
|
|
|
202
202
|
|
|
203
203
|
### Advanced JSON send
|
|
204
204
|
|
|
205
|
+
`k-msg send` is an advanced command for raw `SendInput` JSON (object or array).
|
|
206
|
+
For common workflows, prefer `k-msg sms send` and `k-msg alimtalk send`.
|
|
207
|
+
|
|
205
208
|
```bash
|
|
206
209
|
k-msg send --input '{"to":"01012345678","text":"hello"}'
|
|
207
210
|
```
|
|
208
211
|
|
|
212
|
+
Single preview without sending:
|
|
213
|
+
|
|
214
|
+
```bash
|
|
215
|
+
k-msg send --input '{"to":"01012345678","text":"hello"}' --dry-run
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
Batch preview without sending:
|
|
219
|
+
|
|
220
|
+
```bash
|
|
221
|
+
k-msg send --input '[{"to":"01011112222","text":"hello 1"},{"to":"01033334444","text":"hello 2"}]' --dry-run
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
`providers doctor` and `send --dry-run` have different roles:
|
|
225
|
+
|
|
226
|
+
- `k-msg providers doctor`: provider/account/capability readiness checks
|
|
227
|
+
- `k-msg send --dry-run`: request payload preview/validation (no provider send)
|
|
228
|
+
|
|
209
229
|
## Kakao Channel (Aligo capability)
|
|
210
230
|
|
|
211
231
|
```bash
|