ocharles / weeder

A re-implementation of weeder using HIE files
BSD 3-Clause "New" or "Revised" License
168 stars 28 forks source link

show number of weeds matched by a regex? #49

Open shapr opened 4 years ago

shapr commented 4 years ago

I'm working on a 200kloc codebase and after setting "Paths_.*" as a root, I still have 3500 weeds. After adding many lines my weeder.dhall, I realized I'd find it useful to see how many weeds were filtered out by a given line in the weeder.dhall

Would you be interested in a PR that shows the number of weeds matched by a line in the weeder.dhall file?

ocharles commented 4 years ago

Possibly, can you expand on what the user facing changes would be? Are there new command line arguments, config file, or output?