Library mainLib = workspace.lookupLibrary(UUID.fromString(options.getMainLib()));
if (mainLib == null) {
throw new IllegalArgumentException("No library found with id " + options.getMainLib());
}
Block entryPoint = (Block) mainLib.getElements().get(options.getEntryPoint());
if (entryPoint == null) {
throw new IllegalArgumentException("No block found named " + options.getEntryPoint());
}
System.out.println("entryPoint to execute: " + entryPoint.name);