DOKK / manpages / debian 11 / ruby-sass / sass-convert.1.en
SASS(1) User Commands SASS(1)

Sass - sass-convert converts files between CSS

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

Converts between CSS, indented syntax, and SCSS files. For example, this can convert from the indented syntax to SCSS, or from CSS to SCSS (adding appropriate nesting).

The format to convert from. Can be css, scss, sass. By default, this is inferred from the input filename. If there is none, defaults to css.
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.
Convert a file to its own syntax. This can be used to update some deprecated syntax.
Convert all the files in a directory. Requires --from and --to.
-?, -h, --help
Show this help message.
Print the Sass version.

Convert underscores to dashes.
How many spaces to use for each level of indentation. Defaults to 2. "t" means use hard tabs.
Output the old-style ":prop val" property syntax. Only meaningful when generating Sass.

Read input from standard input instead of an input file. This is the default if no input file is specified. Requires --from.
Specify the default encoding for input files.
Use Unix-style newlines in written files. Always true on Unix.

The path to save parsed Sass files. Defaults to .sass-cache.
Don't cache to sassc files.
Silence warnings and status messages during conversion.
Show a full Ruby stack trace on error
June 2020 Sass 3.7.4