refactor: Use a newline for annotation properties

This commit is contained in:
oSumAtrIX
2023-11-25 15:28:43 +01:00
parent 36c6a6a5f7
commit 5e63e0a276
5 changed files with 71 additions and 27 deletions

View File

@@ -7,18 +7,22 @@ import java.util.logging.Logger
@Command(
name = "install", description = ["Install an APK file to devices with the supplied ADB device serials"]
name = "install",
description = ["Install an APK file to devices with the supplied ADB device serials"]
)
internal object InstallCommand : Runnable {
private val logger = Logger.getLogger(InstallCommand::class.java.name)
@Parameters(
description = ["ADB device serials"], arity = "1..*"
description = ["ADB device serials"],
arity = "1..*"
)
private lateinit var deviceSerials: Array<String>
@Option(
names = ["-a", "--apk"], description = ["APK file to be installed"], required = true
names = ["-a", "--apk"],
description = ["APK file to be installed"],
required = true
)
private lateinit var apk: File