Skip to content

Commit 2d865aa

Browse files
committed
Polishing README.md
1 parent 0f68e26 commit 2d865aa

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

README.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,13 @@ simplelocalize upload
8888
Upload format is a format of the file(s) with translations. [See available upload formats](https://simplelocalize.io/docs/general/file-formats/)
8989
9090
**Additional parameters:**
91-
- `--replace` allows you to **replace** existing translations with new ones.
92-
- `--dryRun` allows you to **check** what translation files will be uploaded without actually uploading them.
93-
- `--uploadOptions` allows you to pass [additional options](https://simplelocalize.io/docs/general/options/) to the upload command.
94-
E.g.: `--uploadOptions TRIM_LEADING_TRAILING_SPACES`. To pass multiple options, use comma as a separator.
91+
- `--replace` allows you to **replace** existing translations with new ones,
92+
- `--dryRun` allows you to **check** what translation files will be uploaded without actually uploading them,
93+
- `--namespace` download translations for a specific namespace, e.g.: `--namespace home`,
94+
- `--customerId` download translations for a specific customer, e.g.: `--customerId ikea`,
95+
- `--uploadOptions` allows you to pass [additional options](https://simplelocalize.io/docs/general/options/) to the upload command, E.g.: `--options TRIM_LEADING_TRAILING_SPACES`. To pass multiple options, use comma as a separator.
96+
97+
> Since version 2.7 you can skip 'upload' part in the parameters names, e.g.: `--path` instead of `--uploadPath`.
9598
9699
Learn more about [upload translations command](https://simplelocalize.io/docs/cli/upload-translations/).
97100
@@ -211,9 +214,13 @@ simplelocalize download
211214
```
212215
213216
**Additional parameters:**
214-
- `--downloadLanguageKey` allows you to download translation for specified languages. Eg.: `--downloadLanguageKey en,de,fr`.
215-
- `--downloadOptions` allows you to pass [additional options](https://simplelocalize.io/docs/general/options/) to the download command. Eg.: `--downloadOptions WRITE_NESTED`.
216-
- `--downloadSort` allows you to sort translations in the downloaded file. Eg.: `--downloadSort NEWEST_KEYS_FIRST`. Available options: `NEWEST_KEYS_FIRST`, `NEWEST_KEYS_LAST`, `NAMESPACES`, `IMPORT_ORDER`.
217+
- `--downloadLanguageKey` allows you to download translation for specified languages. E.g.: `--languageKey en,de,fr`.
218+
- `--downloadCustomerId` allows you to download translations for a specific customer. E.g.: `--customerId ikea`.
219+
- `--downloadNamespace` allows you to download translations for a specific namespace. E.g.: `--namespace home`.
220+
- `--downloadOptions` allows you to pass [additional options](https://simplelocalize.io/docs/general/options/) to the download command. E.g.: `--options WRITE_NESTED`.
221+
- `--downloadSort` allows you to sort translations in the downloaded file. E.g.: `--sort NEWEST_KEYS_FIRST`. Available options: `NEWEST_KEYS_FIRST`, `NEWEST_KEYS_LAST`, `NAMESPACES`, `IMPORT_ORDER`.
222+
223+
> Since version 2.7 you can skip 'download' part in the parameters names, e.g.: `--path` instead of `--downloadPath`.
217224
218225
Learn more about [download translations command](https://simplelocalize.io/docs/cli/download-translations/).
219226

0 commit comments

Comments
 (0)