@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER]) class ParsedAsList
Annotates a setter to be called with the value of a command line option. The setter must also have been annotated with Option. When annotated with ParsedAsList, the option value is parsed as a list. The value is split and then each segment is trimmed.
Author
Clement Escoffier
See Also
Option
ParsedAsList(separator: String)
Annotates a setter to be called with the value of a command line option. The setter must also have been annotated with Option. When annotated with ParsedAsList, the option value is parsed as a list. The value is split and then each segment is trimmed. |
val separator: String
The separator used to split the value. |