@k-msg/cli 0.3.2 → 0.3.4
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 +16 -0
- package/README.md +16 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @k-msg/cli
|
|
2
2
|
|
|
3
|
+
## 0.3.4 — 2026-02-16
|
|
4
|
+
|
|
5
|
+
### Patch changes
|
|
6
|
+
|
|
7
|
+
- [8b5de1c](https://github.com/k-otp/k-msg/commit/8b5de1ca4e015f2cf1944ea4d067d4c880a53591) Fix global `@k-msg/cli` startup failure when running outside a project that has `bunli.config.*`.
|
|
8
|
+
|
|
9
|
+
- `createKMsgCli()` now passes explicit CLI metadata (`name`, `version`, `description`) to Bunli.
|
|
10
|
+
- This allows `k-msg` to start correctly even when the current working directory does not contain a Bunli config file.
|
|
11
|
+
- Added an E2E test that runs CLI from a temporary directory without `bunli.config.*`. — Thanks @imjlk!
|
|
12
|
+
|
|
13
|
+
## 0.3.3 — 2026-02-16
|
|
14
|
+
|
|
15
|
+
### Patch changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies: k-msg@0.9.0
|
|
18
|
+
|
|
3
19
|
## 0.3.2 — 2026-02-16
|
|
4
20
|
|
|
5
21
|
### Patch changes
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# k-msg CLI (`apps/cli`)
|
|
2
2
|
|
|
3
|
-
This CLI is built with Bunli and uses the unified `k-msg` package (KMsg + Providers).
|
|
3
|
+
This CLI is built with [Bunli](https://bunli.dev/) and uses the unified `k-msg` package (KMsg + Providers).
|
|
4
4
|
|
|
5
5
|
## Install (recommended)
|
|
6
6
|
|
|
@@ -130,6 +130,21 @@ k-msg alimtalk send \
|
|
|
130
130
|
--channel main
|
|
131
131
|
```
|
|
132
132
|
|
|
133
|
+
Failover options:
|
|
134
|
+
|
|
135
|
+
```bash
|
|
136
|
+
k-msg alimtalk send \
|
|
137
|
+
--to 01012345678 \
|
|
138
|
+
--template-code TPL_001 \
|
|
139
|
+
--vars '{"name":"Jane"}' \
|
|
140
|
+
--failover true \
|
|
141
|
+
--fallback-channel sms \
|
|
142
|
+
--fallback-content "Fallback SMS text" \
|
|
143
|
+
--fallback-title "Fallback LMS title"
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
When providers return send warnings (for example failover partial/unsupported), CLI prints `WARNING ...` lines in text mode and includes them in `--json` output.
|
|
147
|
+
|
|
133
148
|
### Advanced JSON send
|
|
134
149
|
|
|
135
150
|
```bash
|