Analyze specific files and paths with the Code Climate CLI
We’re pleased to announce that with the latest update to the Code Climate CLI you can now pass file paths as arguments to the
codeclimate analyze command. You can also specify engine options with
Exclude paths in
.codeclimate.yml config will not be analyzed.
We've gotten a lot of requests for this feature to aid in debugging hotspots. Instead of having to re-run a repo's entire analysis locally, developers using the CLI can now target tricky bits of code with particular engines!
To run the latest version of the CLI and take advantage of this new feature, run
brew update && brew upgrade codeclimate