return new CommandLineParserBuilder().parameter(processedCommand).generateParser();
}
public static void parseAndPopulate(Object instance, String input) throws CommandLineParserException, OptionValidatorException {
CommandLineParser cl = generateCommandLineParser(instance.getClass());
InvocationProviders invocationProviders = new AeshInvocationProviders(
new AeshConverterInvocationProvider(),
new AeshCompleterInvocationProvider(),
new AeshValidatorInvocationProvider(),
new AeshOptionActivatorProvider());
cl.getCommandPopulator().populateObject(instance, cl.parse(input), invocationProviders, null, true);