You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/cli/src/cli/cmd/i18n.ts
+36-2Lines changed: 36 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -24,8 +24,18 @@ export default new Command()
24
24
.helpOption("-h, --help","Show help")
25
25
.option("--locale <locale>","Locale to process",(val: string,prev: string[])=>(prev ? [...prev,val] : [val]))
26
26
.option("--bucket <bucket>","Bucket to process",(val: string,prev: string[])=>(prev ? [...prev,val] : [val]))
27
-
.option("--key <key>","Key to process. Process only a specific translation key, useful for debugging or updating a single entry")
28
-
.option("--frozen",`Run in read-only mode - fails if any translations need updating, useful for CI/CD pipelines to detect missing translations`)
27
+
.option(
28
+
"--key <key>",
29
+
"Key to process. Process only a specific translation key, useful for debugging or updating a single entry",
30
+
)
31
+
.option(
32
+
"--file [files...]",
33
+
"File to process. Process only a specific path, may contain asterisk * to match multiple files. Useful if you have a lot of files and want to focus on a specific one. Specify more files separated by commas or spaces.",
34
+
)
35
+
.option(
36
+
"--frozen",
37
+
`Run in read-only mode - fails if any translations need updating, useful for CI/CD pipelines to detect missing translations`,
38
+
)
29
39
.option("--force","Ignore lockfile and process all keys, useful for full re-translation")
30
40
.option("--verbose","Show detailed output including intermediate processing data and API communication details")
31
41
.option("--interactive","Enable interactive mode for reviewing and editing translations before they are applied")
0 commit comments