Open piranha opened 7 years ago
Great idea. I think I should be able to just have unrecognized files fallback to doing a lookup from mappings passed as arguments, I just need to reverse my to_s implementation so I can parse the command-line args.
I +1 with this feature enhancement. For instance when using Symfony we would like to count the *.html.twig files which are basically HTML.
I have a codebase which is partially Clojure (.clj), partially ClojureScript (.cljs) and partially both of them (.cljc). Right now only .clj files are counted.
Of course, languages could be added right to the binary, but maybe having option to add new file extensions is a good thing too. :)