Use type
attribute to determine conversion target type instead of field type
#197
Labels
Milestone
type
attribute to determine conversion target type instead of field type
#197
This allows fields to be declared as interface or abstract types, and picocli can still convert string command line args to the concrete implementation class specified in the
type
attribute.Example:
If the
type
attribute is not specified, fall back to the array component class or (for single-value fields) the field type.The text was updated successfully, but these errors were encountered: