peterbe / mincss

Tool for finding out which CSS selectors you're NOT using.
https://peterbe.github.io/mincss/
BSD 3-Clause "New" or "Revised" License
854 stars 92 forks source link

Allow file & stdin as input #55

Open igitur opened 6 years ago

igitur commented 6 years ago

Unless I'm mistaken, it seems that the input has to be a URL. How about also allowing a file, so that

mincss file.html would work. Also cat file.html | mincss would be nice. All those POSIXy goodness.