haute couture
1.0.0
オートクチュールは CSS と静的 HTML を調べて、古いスタイルが存在しないことを確認します。指定された CSS ファイル内のすべてのクラス名と ID 名が HTML ファイルに存在するかどうかをチェックします。一致しないスタイルは、開発者によるレビューのためにファイルに出力されます。
まずはGoをインストールします。
ソース コードを気にせず、バイナリを現在のディレクトリにインストールするだけの場合は、次を実行します。
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 " )まあ、名前はダイナマイトです。
— グレガビット