*/
public class Main {
public static void main(String[] args) {
- if (args.length == 0) {
- System.err.println("usage: javainspect [PROJECT_DIR] [PACKAGE_GLOB] [GRAPH_NAME]");
- System.exit(1);
- }
-
- String projectDir = args[0];
- String packageGlob = args[1];
- String graphName = args[2];
+ CommandlineConfiguration commandlineConfiguration = new CommandlineConfiguration(args);
+ System.out.println("Commandline config validated");
ClassGraph cg = new ClassGraph();
cg.setTargetDirectoryPath(getProperty("user.dir") + separator);
- cg.addProject(projectDir);
- cg.whitelistClassGlob(packageGlob);
- cg.setKeepDotFile(true);
- cg.generateGraph(graphName);
+// cg.addProject(projectDir);
+// cg.whitelistClassGlob(packageGlob);
+// cg.setKeepDotFile(true);
+// cg.generateGraph(graphName);
}
}