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.
# display the result as a list of two columns
if args.group:
if sort_alpha:
# sort extensions by group and
# sort extensions alphabetically, with uppercase versions on top
...
else:
# sort extensions by group and by frequency in each group
...
# display the result as a table
elif sort_alpha:
# sort extensions alphabetically, with uppercase versions on top
...
else:
# sort extensions by frequency for each file extension
...
added test for combination of group, alpha and case