unconditionalSingleValue
Parse the value immediately after the option while allowing repeating options, joining multiple into an array.
static var unconditionalSingleValue: ArrayParsingStrategy { get }
This is identical to .singleValue
except that the value will be read from the input immediately after the option, even if it could be interpreted as an option.
For example, for a parsable type with a property defined as @Option(parsing: .unconditionalSingleValue) var read: [String]
, the input --read foo --read bar
would result in the array ["foo", "bar"]
– just as it would have been the case for .singleValue
.