The best workaround I’ve found is to feed the contents of .clocignore
directly to --exclude-dir
. For example, if you are using bash
and have tr
available:
cloc --exclude-dir=$(tr '\n' ',' < .clocignore) .
The best workaround I’ve found is to feed the contents of .clocignore
directly to --exclude-dir
. For example, if you are using bash
and have tr
available:
cloc --exclude-dir=$(tr '\n' ',' < .clocignore) .