else if ("-java14".equalsIgnoreCase(arg)) {
eogeneratorModel.setJava14(true);
}
else if ("-generate".equalsIgnoreCase(arg)) {
String modelName = argsList.get(++argNum);
eogeneratorModel.addModel(new EOModelReference(new Path(modelName)));
}
else if ("-loadModelGroup".equalsIgnoreCase(arg)) {
loadModelGroup = true;
}
else if ("-force".equalsIgnoreCase(arg)) {
force = true;
}
else if ("-workingDir".equalsIgnoreCase(arg)) {
argNum ++;
}
else if ("-config".equalsIgnoreCase(arg)) {
argNum ++;
}
else if ("-stdout".equalsIgnoreCase(arg))
useStdout = true;
else {
entityList.add(arg);
}
}
if (eogeneratorModel.getModels() == null || eogeneratorModel.getModels().isEmpty()) {
for (String modelPath : modelPaths) {
eogeneratorModel.addModel(new EOModelReference(new Path(modelPath)));
}
}
if (eogeneratorModel.getDestination() == null || eogeneratorModel.getModels().size() == 0) {
System.out.println("veogen");