Modifier and Type | Method and Description |
---|---|
static <T> CliInvocationSpec<T> |
parseParameters(String[] args,
Class<T> paramsClass)
Parse command line parameters.
|
public static <T> CliInvocationSpec<T> parseParameters(String[] args, Class<T> paramsClass)
T
- Type of CLI params classargs
- Command line argumentsparamsClass
- CLI parameters class. Parameter