This simple python script shows the number of files/lines grouped by file extensions without any 3rd party libraries.
usage: cts.py [options]
optional arguments:
-h, --help show this help message and exit
-V, --version show program's version number and exit
-c N, --cutoff N number of elements to show
-B, --show_binary show binary files in the list
-N, --hide_negligible hides files with negligible amount of lines (<00.01%)
-A, --hide_animation hides 'Loading...' text
Minimum python version: 3.6
About the code
Why is everything in a single file?
One of the goals I set out is to only have a single file. In the future I may move some of the classes to separate files.
Reinventing the wheel
I don't use external packages for a similar reason. I want it to run on any device, without any additional files.
This project is licensed under the MIT License - see the MIT License file for details.