markfink / metrics

produces metrics for Python, C, C++, Go and Javascript programs (plugins for pylint, pytest-cov, and git available)
MIT License
16 stars 8 forks source link

suggestion on how to run metrics recursively? #8

Open mcallaghan-bsm opened 5 years ago

mcallaghan-bsm commented 5 years ago

Docs show https://pypi.org/project/metrics/

metrics **/*

For a project with some hierarchy, its difficult to predict and list all of the sub-directory paths, and even they could change over time.

The only workaround I can see at this time is to run metrics multiple times, (for each dir in the project path) - but this does not give us a summary.

Wondering if I'm missing something here ... but I don't see a way to just run it on "*" with -r recursively.