@intlpullhq/cli 0.1.2 → 0.1.3
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 +1 -31
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -503,33 +503,6 @@ npx @intlpullhq/cli migrate from lokalise --api-key <key> --dry-run
|
|
|
503
503
|
| `--to <id>` | Target IntlPull project ID |
|
|
504
504
|
| `--dry-run` | Preview without importing |
|
|
505
505
|
|
|
506
|
-
#### Compare Pricing
|
|
507
|
-
|
|
508
|
-
```bash
|
|
509
|
-
# Compare with all competitors
|
|
510
|
-
npx @intlpullhq/cli compare
|
|
511
|
-
|
|
512
|
-
# Compare specific competitor
|
|
513
|
-
npx @intlpullhq/cli compare --from lokalise
|
|
514
|
-
|
|
515
|
-
# Custom usage parameters
|
|
516
|
-
npx @intlpullhq/cli compare --keys 10000 --languages 5 --users 10
|
|
517
|
-
|
|
518
|
-
# JSON output
|
|
519
|
-
npx @intlpullhq/cli compare --json
|
|
520
|
-
```
|
|
521
|
-
|
|
522
|
-
**Options:**
|
|
523
|
-
| Option | Description |
|
|
524
|
-
|--------|-------------|
|
|
525
|
-
| `--from <provider>` | Specific competitor: `lokalise`, `crowdin`, `phrase` |
|
|
526
|
-
| `--keys <n>` | Number of translation keys (default: 5000) |
|
|
527
|
-
| `--languages <n>` | Number of languages (default: 3) |
|
|
528
|
-
| `--users <n>` | Number of team members (default: 5) |
|
|
529
|
-
| `--json` | Output as JSON |
|
|
530
|
-
|
|
531
|
-
---
|
|
532
|
-
|
|
533
506
|
### Workflows (Enterprise)
|
|
534
507
|
|
|
535
508
|
Manage approval workflows for translation review.
|
|
@@ -672,7 +645,6 @@ npx @intlpullhq/cli zendesk disconnect
|
|
|
672
645
|
### Docker
|
|
673
646
|
|
|
674
647
|
```dockerfile
|
|
675
|
-
# Dockerfile
|
|
676
648
|
FROM node:20-alpine
|
|
677
649
|
|
|
678
650
|
WORKDIR /app
|
|
@@ -701,14 +673,12 @@ sync-translations:
|
|
|
701
673
|
Add `INTLPULL_API_KEY` to your environment variables and update your build command:
|
|
702
674
|
|
|
703
675
|
```bash
|
|
704
|
-
# Build command
|
|
705
676
|
npx @intlpullhq/cli sync --quiet && next build
|
|
706
677
|
```
|
|
707
678
|
|
|
708
|
-
### Pre-commit Hook
|
|
679
|
+
### Pre-commit Hook (`.husky/pre-commit`)
|
|
709
680
|
|
|
710
681
|
```bash
|
|
711
|
-
# .husky/pre-commit
|
|
712
682
|
npx @intlpullhq/cli check --source en
|
|
713
683
|
```
|
|
714
684
|
|
package/package.json
CHANGED