Skip to content

Commit

Permalink
Add --device-locale parameter for maestro cloud command (#1581)
Browse files Browse the repository at this point in the history
add --device-locale for maestro cloud command
  • Loading branch information
artem888 authored Nov 9, 2023
1 parent 9222731 commit 8c4abc8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions maestro-cli/src/main/java/maestro/cli/command/CloudCommand.kt
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ class CloudCommand : Callable<Int> {
@Option(order = 17, names = ["--app-binary-id", "--appBinaryId"], description = ["The ID of the app binary previously uploaded to Maestro Cloud"])
private var appBinaryId: String? = null

@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"])
private var deviceLocale: String? = null

@Option(hidden = true, names = ["--fail-on-cancellation"], description = ["Fail the command if the upload is marked as cancelled"])
private var failOnCancellation: Boolean = false

Expand Down Expand Up @@ -181,6 +184,7 @@ class CloudCommand : Callable<Int> {
failOnCancellation = failOnCancellation,
testSuiteName = testSuiteName,
disableNotifications = disableNotifications,
deviceLocale = deviceLocale,
)
}

Expand Down

0 comments on commit 8c4abc8

Please sign in to comment.