sass-convert(1) Converts between CSS, Sass and SCSS files.

SYNOPSIS

sass-convert [options] [INPUT] [OUTPUT]

DESCRIPTION

Converts between CSS, Sass, and SCSS files. it used to be known as css2sass.It now uses a full-fledged CSS3 parser. so it should be able to handle any valid CSS3, as well as most hacks and proprietary syntax. sass-convert can now convert between Sass and SCSS. This is normally inferred from the filename, but it can also be specified using the --from and --to flags. it is also possible to convert a file in-place.

OPTIONS

-F, --from FORMAT
The format to convert from. Can be css, scss, sass, less, or sass2. sass2 is the same as sass, but updates more old syntax to new. By default, this is inferred from the input filename. If there is none, defaults to css.
-T, --to FORMAT
The format to convert to. Can be scss or sass. By default, this is inferred from the output filename.If there is none, defaults to sass.
-R, --recursive
Convert all the files in a directory. Requires --from and --to.
-i, --in-place
Convert a file to its own syntax. This can be used to update some deprecated syntax.
--dasherize
Convert underscores to dashes
--old
Output the old-style ":prop val" property syntax. Only meaningful when generating Sass.
-C, --no-cache
Don't cache to sassc files.
-s, --stdin
Read input from standard input instead of an input file
--trace
Show a full traceback on error
-?, -h, --help
Show this message
-v, --version
Print version

AUTHOR

This manual page was written by Deepak Tripathi <[email protected]>, based on the command-line output of this program, for the Debian GNU/Linux system (but may be freely used by others). Examples are taken from project's homepage.