CLI tool for Sass/SCSS
$ npm install -g sass-cli
The quickest way to get started with sass-cli is to utilize the executable sass(1)
to generate an application as shown below:
Create the app:
$ sass-cli new foo
Create sass app:
$ sass-cli new foo --sass
Install dependencies:
$ npm install
$ npm start
$ grunt watch
$ sass-cli g foo
This cli can also be further configured with the following command line flags.
-h, --help output usage information
--version output the version number
new [value] create new sass/scss project
-s, --sass use sass stylesheet (defaults to scss)
-u, --unit specify units (px|em|rem) (defaults to px)
g, generate generate component
-f, --force force on non-empty directory