annotationorg.draftcode.argot.annotations
Option
Declares a value-bearing named option on a Command constructor parameter.
The parameter's type determines the converter (String, Int, Long, Double, Boolean, an enum, or List<T> of those for a repeatable option). Optionality:
a non-nullable type with no
defaultis required;a nullable type is optional, resolving to
nullwhen absent;a
defaultis optional, parsed via the parameter's converter when the option is absent.