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

@@ -16,17 +16,22 @@ internal object OptionsCommand : Runnable {
private val logger = Logger.getLogger(OptionsCommand::class.java.name)
@CommandLine.Parameters(
description = ["Paths to patch bundles."], arity = "1..*"
description = ["Paths to patch bundles."],
arity = "1..*"
)
private lateinit var patchBundles: Array<File>
@CommandLine.Option(
names = ["-p", "--path"], description = ["Path to patch options JSON file."], showDefaultValue = ALWAYS
names = ["-p", "--path"],
description = ["Path to patch options JSON file."],
showDefaultValue = ALWAYS
)
private var filePath: File = File("options.json")
@CommandLine.Option(
names = ["-o", "--overwrite"], description = ["Overwrite existing options file."], showDefaultValue = ALWAYS
names = ["-o", "--overwrite"],
description = ["Overwrite existing options file."],
showDefaultValue = ALWAYS
)
private var overwrite: Boolean = false