Skip to content

Commit f0ad9be

Browse files
committed
Moved prompt notes from cmd descriptions to comments
1 parent b9cde22 commit f0ad9be

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

remove-json-keys/docs/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,22 +49,22 @@ Options can be set by using command-line arguments:
4949

5050
## Examples
5151

52-
Remove `author` key from JSON files found in default `_locales` dir (prompts for more keys):
52+
Remove `author` key from JSON files found in default `_locales` dir:
5353

5454
```bash
55-
remove-json-keys --keys=author
55+
remove-json-keys --keys=author # prompts for more keys to remove
5656
```
5757

58-
Remove `info_SUCCESS` key from JSON files found in `messages` dir (no prompts):
58+
Remove `info_SUCCESS` key from JSON files found in `messages` dir:
5959

6060
```bash
61-
remove-json-keys --keys=err_NOT_FOUND --json-dir=messages -W
61+
remove-json-keys --keys=err_NOT_FOUND --json-dir=messages -W # no prompts
6262
```
6363

6464
Remove `app_DESC` + `app_VER` keys from JSON files found in `data` dir:
6565

6666
```bash
67-
remove-json -k app_DESC,app_VER -d data -W
67+
remove-json -k app_DESC,app_VER -d data -W # no prompts
6868
```
6969

7070
## Config file

translate-messages/docs/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,22 +53,22 @@ Options can be set by using command-line arguments:
5353

5454
## Examples
5555

56-
Translate all keys except `app_NAME` from `_locales/en/messages.json` to all [`supported_locales`][supported-locales] (prompts for more keys to ignore):
56+
Translate all keys except `app_NAME` from `_locales/en/messages.json` to all [`supported_locales`][supported-locales]:
5757

5858
```bash
59-
translate-messages --ignore-keys=app_NAME
59+
translate-messages --ignore-keys=app_NAME # prompts for more keys to ignore
6060
```
6161

62-
Translate `app_DESC` key from `messges/en/messages.json` to French (no prompts):
62+
Translate `app_DESC` key from `messges/en/messages.json` to French:
6363

6464
```bash
65-
translate-messages --keys=app_DESC --locales-dir=messages --target-langs=fr -W
65+
translate-messages --keys=app_DESC --locales-dir=messages --target-langs=fr -W # no prompts
6666
```
6767

6868
Translate `app_DESC` + `err_NOT_FOUND` keys from `_msgs/en/messages.json` to Spanish and Hindi:
6969

7070
```bash
71-
translate-msgs -k app_DESC,err_NOT_FOUND -d _msgs -t es,hi -W
71+
translate-msgs -k app_DESC,err_NOT_FOUND -d _msgs -t es,hi -W # no prompts
7272
```
7373

7474
## Config file

0 commit comments

Comments
 (0)