This is a command tool that runs on Python3 that counts lines of code of different types for many supported programming languages. It can handle multiple input files.
pip3 install -r requirements.txt
- Python
- Java
python3 locc_cli.py --files=test.java
python3 locc_cli.py --files=*.java,*.py
Check out the asciinema recording for the above examples