Skip to content

iref/cssmin-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSSMin - CLI

This is simple wrapper around great CSSMin library. It provides command line script for minifying css using CSSMin.

Instalation

Just install it from good old RubyGems.

gem install cssmin-cli

Usage

  1. To minify CSS source file run following command:
cssmin -s style.css -o style.min.css

This command will read CSS from style.css, minify css and store result to style.min.css

  1. To minify inline CSS, run following command:
cssmin -i 'div {    border:   1px solid #ffff; margin: 0px   }' -o style.min.css

Note: If you don't provide output file, output is printed to standart output

To Contribute... 👍

... just send me pull request. 👳‍♂️

Authors

About

Command line tool for minifying CSS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages