class BuildFileGenerator {

  void generateBuildFiles(ApisVisitor visitor) throws IOException {
    System.out.println("\n\n========== READING INPUT DIRECTORY ==========");
    Files.walkFileTree(visitor.getSrcDir(), visitor);
    visitor.setWriterMode(true);
    System.out.println("\n\n========== WRITING GENERATED FILES ==========");
    Files.walkFileTree(visitor.getSrcDir(), visitor);

    System.out.println("\nBUILD.bazel file generation completed successfully\n");
  }

}