0.1.3 • Published 10 years ago

everycss-cli v0.1.3

Weekly downloads
1
License
-
Repository
github
Last release
10 years ago

#EveryCSS cli

CSS processor made on top of EveryCSS

It includes the EveryCSS's processors:

##Installation

$ npm install -g everycss-cli

##How to

###everycss

Process and compile input.css to output.css:

$ everycss input.css output.css

You could also process and compile a directory:

$ everycss input output

###everycss watch

Process and compile files every time a modification occured.

Process and compile input.css to output.css:

$ everycss watch input.css output.css

You could also process and compile a directory:

$ everycss watch input output

##options

###--style

You could choose the output style of the processed css:

$ everycss input.css output.css --style="compressed"

There are three styles:

  • expanded (default)
  • compact
  • compressed

####Expanded

rule1 {
  background: white;
  color: black;
}
rule2 {
  background: black;
  color: white;
}

####Compact

rule1 {background:white;color:black}
rule2 {background:black;color:white}

####Expanded

rule1 {background:white;color:black}rule2 {background:black;color:white}

###--types

Limit processing by file extensions:

$ everycss watch input output --types="css,ecss"

By default, --types is set to css,ecss. This option is only used when processing and/or watching by directory.