@radicalstorage-lingo/cli 0.2.0 → 0.3.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/README.md +1 -1
- package/dist/cli.cjs +2385 -966
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -57,7 +57,7 @@ npx lingo pull
|
|
|
57
57
|
|
|
58
58
|
| Command | What it does |
|
|
59
59
|
| --- | --- |
|
|
60
|
-
| `lingo init [--project <id-or-slug>] [--api-url <url>] [--out <dir>]` |
|
|
60
|
+
| `lingo init [--project <id-or-slug>] [--api-url <url>] [--out <dir>] [-y, --yes]` | `lingo init` is an interactive wizard; `lingo init --yes` (or a non-TTY shell) is non-interactive and writes from flags + defaults. |
|
|
61
61
|
| `lingo login [--api-key <key>]` | Store the key in `~/.lingo/credentials.json`. If the config's `projectId` is blank, fills it in from the key's own project. |
|
|
62
62
|
| `lingo pull [--out <dir>]` | Download translations → `messages/{lang}.json` + generate `.lingo/types.ts`. `--out` overrides `outDir` from the config for that run. |
|
|
63
63
|
| `lingo push [-y, --yes]` | Upload changed local values to **existing** keys (preview unless `--yes`). |
|