Haute couture looks through your CSS and static HTML to ensure that there are no out-of-date styles. It checks that all class and ID names in the specified CSS file exist in some HTML file. Styles that don't match are output to a file for review by the developer.
First install Go.
If you just want to install the binary to your current directory and don't care about the source code, run
GOBIN="$(pwd)" GOPATH="$(mktemp -d)" go get github.com/baltimore-sun-data/haute-couture
$ haute-couture -h
Haute couture looks through your CSS and static HTML to ensure that there are
no out-of-date styles.
Usage: haute-couture [options]
Options:
-css string
CSS file to match against
-exclude value
regexp for sub-directories to exclude (default "^\.")
-html-dir string
directory to search for HTML files (default "public")
-include value
regexp for HTML files to process (default "\.html?$")
-output string
file to save any found extra CSS identifiers in (default "extra-css.txt")
Well, the name is dynamite.
— Gregabit