Skip to content

Commit 8c4abc8

Browse files
authored
Add --device-locale parameter for maestro cloud command (#1581)
add --device-locale for maestro cloud command
1 parent 9222731 commit 8c4abc8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

maestro-cli/src/main/java/maestro/cli/command/CloudCommand.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ class CloudCommand : Callable<Int> {
136136
@Option(order = 17, names = ["--app-binary-id", "--appBinaryId"], description = ["The ID of the app binary previously uploaded to Maestro Cloud"])
137137
private var appBinaryId: String? = null
138138

139+
@Option(order = 18, names = ["--device-locale"], description = ["Locale that will be set to a device, ISO-639-1 code and uppercase ISO-3166-1 code i.e. \"de_DE\" for Germany"])
140+
private var deviceLocale: String? = null
141+
139142
@Option(hidden = true, names = ["--fail-on-cancellation"], description = ["Fail the command if the upload is marked as cancelled"])
140143
private var failOnCancellation: Boolean = false
141144

@@ -181,6 +184,7 @@ class CloudCommand : Callable<Int> {
181184
failOnCancellation = failOnCancellation,
182185
testSuiteName = testSuiteName,
183186
disableNotifications = disableNotifications,
187+
deviceLocale = deviceLocale,
184188
)
185189
}
186190

0 commit comments

Comments
 (0)