Open PavelZeger opened 4 years ago
I changed the code and now it runs without errors:
@Parameter(
names = Array("-f", "--running-folder"),
required = true,
description = "The current folder in AWS S3 bucket in the format yyyy_MM_dd_HH (%Y_%M_%d_%H)",
validateWith = Array(classOf[RunningFolderValidator])
)
var runningFolderArg: String = _
I would appreciate if you can suggest the better approach
Hi. I'm trying to use "validateWith" but encountered the following error:
The code is:
The validator:
How can I implement the validation in Scala?