I have a directory with several sub-directories and they all have .lua files. I want to calculate the lines of code in all files total.
I have experience in lua, but I've never done file system stuff, so I'm new to this. I understand I would have to recursively iterate the main folder, but I'm not familiar with how the io library works, so if anyone could explain to me how to do this I'd really appreciate it