You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This parameter can be either a List or a single field (for example a String or a type that has a converter, e.g. File), in which case there needs to be exactly one main parameter.
In the method com.beust.jcommander.JCommander#getMainParameter(java.lang.String) a ParameterException is thrown if the parameter field is not a List type
The text was updated successfully, but these errors were encountered:
You may be interested in picocli. It uses @Option for named options and @Parameters for positional parameters, where both can be strongly typed: https://picocli.info/#_positional_parameters
In the documentation (http://jcommander.org/#_main_parameter) it's stated that:
In the method com.beust.jcommander.JCommander#getMainParameter(java.lang.String) a ParameterException is thrown if the parameter field is not a List type
The text was updated successfully, but these errors were encountered: