Skip to content

Commit 7d2dc0d

Browse files
committed
Added example column to options table, extended --provider description ↞ [auto-sync from https://github.com/adamlui/python-utils/tree/main/translate-messages]
1 parent 46f03af commit 7d2dc0d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

translate-messages/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ If no options are provided, the CLI will:
2424

2525
Options can be set using command-line arguments:
2626

27-
| Option | Description |
28-
| ----------------- | ---------------------------------------------------------------- |
29-
| `--include-langs` | Comma-separated list of languages to include (e.g. `en,es,fr") |
30-
| `--exclude-langs` | Comma-separated list of languages to exclude (e.g. `en,es`) |
31-
| `--ignore-keys` | Comma-separated list of keys to ignore (e.g. `appName,author`) |
32-
| `--locales-dir` | Name of the folder containing locale files (default: `_locales`) |
33-
| `--provider` | Translation provider to use |
34-
| `--init` | Create a .config.json file to store your defaults |
35-
| `--no-wizard` | Skip interactive prompts during start-up |
27+
| Option | Description | Example
28+
| ----------------- | ---------------------------------------------------------------------|--------------------------------
29+
| `--include-langs` | Comma-separated list of languages to include | `--include-langs=en,es,fr`
30+
| `--exclude-langs` | Comma-separated list of languages to exclude | `--exclude-langs=en,es`
31+
| `--ignore-keys` | Comma-separated list of keys to ignore | `--ignore-keys=appName,author`
32+
| `--locales-dir` | Name of the folder containing locale files | `--locales-dir=_messages`
33+
| `--provider` | Translation provider to use (requires API key) (default: `mymemory`) | `--provider=deepl`
34+
| `--init` | Create a .config.json file to store your defaults |
35+
| `--no-wizard` | Skip interactive prompts during start-up |
3636

3737
## Config file
3838

0 commit comments

Comments
 (0)