victordomingos / Count-files

A CLI utility written in Python to help you count files, grouped by extension, in a directory. By default, it will count files recursively in current working directory and all of its subdirectories, and will display a table showing the frequency for each file extension (e.g.: .txt, .py, .html, .css) and the total number of files found.
https://no-title.victordomingos.com/projects/count-files/
MIT License
23 stars 9 forks source link

Add for v.1.6: replace Path.open() with built-in open() in preview; updated tests for argument parser, changelog, docs and readme; added new text file extensions. #111

Closed NataliaBondarenko closed 4 years ago

NataliaBondarenko commented 4 years ago

Replaced Path.open() with built-in open() in def generic_text_preview. Updated parser.exit message if no files were found in main.py Changes related to new args, show-folders and total-size: updated RTD, readme, changelog. Updated argument parser tests: skip BaseOS in some cases, parser.exit test if no files were found (count group). Added new text file extensions: Python related, .go, .dart, .lisp