code-complexity icon indicating copy to clipboard operation
code-complexity copied to clipboard

Glob pattern to filter out files not working

Open diemax opened this issue 2 years ago β€’ 2 comments

Hello, how're you? Thanks for such a great project first of all! πŸ˜„ I have a question, it seems like the glob I'm passing as a parameter isn't working, I have a bunch of yaml files (.yml and .yaml extensions), and I need to filter them out, I'm trying the next command as input:

$ code-complexity . --limit 5 --filter '*.yml,*.yaml'

I've also tried:

$ code-complexity . --limit 5 --filter '*.yml'

And I'm always getting an empty result:

β”Œβ”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”
β”‚ file β”‚ complexity β”‚ churn β”‚ score β”‚
β””β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”˜

What am I missing here? I've also tried

$ code-complexity . --limit 5 --filter '**/*.yaml'

But no luck 😒

Thanks in advance! πŸ˜„

diemax avatar Feb 18 '23 04:02 diemax

This is happening to me as wellβ€”any resolution @diemax ?

georgetmayorga avatar Sep 22 '23 15:09 georgetmayorga

Try without quote ;)

Amirault avatar Nov 03 '23 12:11 Amirault