simonrenoult/code-complexity

Support url in addition to path

simonrenoult opened this issue · 0 comments

What problem are you trying to solve?

Since code-complexity is mostly used as a static analysis tool, it would be nice to be able to analyze any project, without having to pull it locally.

Currently, the only required argument is the directory to analyze. We could also support a URL.

Describe the feature

Support URL in addition to path, example:

$ npx code-complexity https://github.com/simonrenoult/code-complexity.git

Internally, it could clone the project in /tmp and remove it once the analysis is done.