@localess/cli 3.2.4-dev.20260611125935 → 3.2.4-dev.20260611135516
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/SKILL.md +8 -4
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/SKILL.md
CHANGED
|
@@ -182,10 +182,11 @@ localess translations pull <locale> --path <file> [options]
|
|
|
182
182
|
|
|
183
183
|
**Options:**
|
|
184
184
|
|
|
185
|
-
| Flag | Default | Description
|
|
186
|
-
|
|
187
|
-
| `-p, --path <path>` | required | Output file path
|
|
188
|
-
| `-f, --format <format>` | `flat` | File format: `flat` or `nested`
|
|
185
|
+
| Flag | Default | Description |
|
|
186
|
+
|-------------------------|-----------|--------------------------------------|
|
|
187
|
+
| `-p, --path <path>` | required | Output file path |
|
|
188
|
+
| `-f, --format <format>` | `flat` | File format: `flat` or `nested` |
|
|
189
|
+
| `--draft` | `false` | Pull the draft version of translations |
|
|
189
190
|
|
|
190
191
|
**Examples:**
|
|
191
192
|
|
|
@@ -195,6 +196,9 @@ localess translations pull en --path ./locales/en.json
|
|
|
195
196
|
|
|
196
197
|
# Pull as nested JSON
|
|
197
198
|
localess translations pull de --path ./locales/de.json --format nested
|
|
199
|
+
|
|
200
|
+
# Pull draft (unpublished) translations
|
|
201
|
+
localess translations pull en --path ./locales/en.json --draft
|
|
198
202
|
```
|
|
199
203
|
|
|
200
204
|
---
|
package/dist/index.mjs
CHANGED