vauxoo-dev / gist-vauxoo

All our gist files into organization
6 stars 7 forks source link

[ADD] cloc_multiple_directories: Count the line of code from a repository without the database. #120

Closed rolandojduartem closed 2 years ago

rolandojduartem commented 2 years ago

If the directory exists but the database is not available, Cloc documentation does not provide a recursive way to get the number of line of code of every module inside a repository. This script solves that to get a table with each module inside a repository with just one line command and save that table in cloc_file.log.

rolandojduartem commented 2 years ago

Hi, @luisg123v, this is the script that I told you, I took the time to formalize it. please, may you review/merge it?

cc @hugho-ad @desdelinux

rolandojduartem commented 2 years ago

Hi, @luisg123v , thanks for you recommendations, I hope this can be useful for someone :). Please, may you review it?