@inline-i18n-multi/cli 0.1.0 → 0.1.2
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 +59 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
> **Important:** For complete documentation, examples, and best practices, please read the [full documentation on GitHub](https://github.com/exiivy98/inline-i18n-multi).
|
|
2
|
+
|
|
3
|
+
# @inline-i18n-multi/cli
|
|
4
|
+
|
|
5
|
+
CLI tool for inline-i18n-multi translation management.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install @inline-i18n-multi/cli --save-dev
|
|
11
|
+
# or globally
|
|
12
|
+
npm install -g @inline-i18n-multi/cli
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Commands
|
|
16
|
+
|
|
17
|
+
### Extract Translations
|
|
18
|
+
|
|
19
|
+
Extract all translations from your codebase:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npx inline-i18n extract --output translations.json
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### Check Missing Translations
|
|
26
|
+
|
|
27
|
+
Find missing translations for specific locales:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npx inline-i18n check --locales en,ko,ja
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Generate Report
|
|
34
|
+
|
|
35
|
+
Generate a translation coverage report:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
npx inline-i18n report
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Options
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
--src, -s Source directory (default: ./src)
|
|
45
|
+
--output, -o Output file path
|
|
46
|
+
--locales, -l Comma-separated list of locales
|
|
47
|
+
--format, -f Output format: json, csv (default: json)
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Documentation
|
|
51
|
+
|
|
52
|
+
**Please read the [full documentation on GitHub](https://github.com/exiivy98/inline-i18n-multi)** for:
|
|
53
|
+
- Complete CLI reference
|
|
54
|
+
- Integration with CI/CD
|
|
55
|
+
- Advanced usage examples
|
|
56
|
+
|
|
57
|
+
## License
|
|
58
|
+
|
|
59
|
+
MIT
|