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: src/main/java/io/simplelocalize/cli/SimplelocalizeCliCommand.java
+43-9Lines changed: 43 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -52,11 +52,16 @@ public static void main(String[] args)
52
52
publicvoidextract(
53
53
@Option(names = {"--apiKey"}, description = "Project API Key") StringapiKey,
54
54
@Option(names = {"--projectType"}, description = "Project type tells CLI how to find i18n keys in your project files") StringprojectType,
55
-
@Option(names = {"--searchDir"}, description = "(Optional) Search directory tells CLI where to look for project files which may contain translation keys. Default: ./") StringsearchDirectory
55
+
@Option(names = {"--searchDir"}, description = "(Optional) Search directory tells CLI where to look for project files which may contain translation keys. Default: ./") StringsearchDirectory,
56
+
@Option(names = {"--baseUrl"}, description = "(Optional) Set custom server URL") StringbaseUrl
@Option(names = {"--uploadPath"}, description = "Path to file with translation or translation keys to upload. Use '{lang}' to define language key if you are uploading more than one file with translations.") StringuploadPath,
101
113
@Option(names = {"--uploadFormat"}, description = "Translations or keys format") StringuploadFormat,
102
114
@Option(names = {"--uploadOptions"}, split = ",", description = "(Optional) Read more about 'uploadOptions' param at docs.simplelocalize.io") List<String> uploadOptions,
103
-
@Option(names = {"--languageKey"}, description = "(Optional) Specify language key for single file upload") StringlanguageKey
115
+
@Option(names = {"--languageKey"}, description = "(Optional) Specify language key for single file upload") StringlanguageKey,
116
+
@Option(names = {"--customerId"}, description = "(Optional) Upload translations for given customerId") StringcustomerId,
117
+
@Option(names = {"--baseUrl"}, description = "(Optional) Set custom server URL") StringbaseUrl
@Option(names = {"--languageKey"}, description = "(Optional) Setup languageKey parameter to download file with only one language translations") StringlanguageKey
172
+
@Option(names = {"--languageKey"}, description = "(Optional) Setup languageKey parameter to download file with only one language translations") StringlanguageKey,
173
+
@Option(names = {"--customerId"}, description = "(Optional) Download translations for given customerId") StringcustomerId,
174
+
@Option(names = {"--baseUrl"}, description = "(Optional) Set custom server URL") StringbaseUrl
0 commit comments