A simple CLI tool to calculate the cyclomatic complexity of CSS selectors based on CSSplexity
npm install cssplexity-cli> A simple CLI tool to calculate the cyclomatic complexity of CSS selectors based on CSSplexity



``shell`
npm install -g cssplexity-cli
`shell`
curl -s http://example.com/main.css | cssplexity
`shell`
cssplexity main.css
Using the parameter max, you’re able to specify a maximum complexity. In case this limit is exceeded, CSSplexity CLI will exit the process with 1. This benefits integration into build/CI systems like Jenkins or Travis.
`shell``
cssplexity --max=5 main.css
* 0.0.3
* Update outdated dependencies
* Fix README
* 0.0.2
* Add tests
* 0.0.1
* Initial version
Copyright (c) 2016 Thomas Rasshofer
Licensed under the MIT license.
See LICENSE for more info.