RUBY(1)

πŸ“¦
version 3.7.4 Β· 2 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ¦‹ RUBY(1) πŸ¦‹

okay bestie, welcome to the Ruby manual page, but make it make sense. The actual command is scss, and it's giving compiler main character energy. πŸ’…

✨ NAME ✨

Ruby β€” Scss compiles CSS from SCSS (Sassy CSS) files. πŸ’–

✨ SYNOPSIS ✨

scss [options] [INPUT] [OUTPUT]

✨ DESCRIPTION ✨

πŸ’¬ Description: πŸ’¬

Converts SCSS or Sass files to CSS. That's the whole job. iconic, honestly. ✨

πŸ‘‘ Common Options: πŸ‘‘

  • -I, --load-path PATH β€” Specify a Sass import path.
  • -r, --require LIB β€” Require a Ruby library before running Sass.
  • --compass β€” Make Compass imports available and load project configuration.
  • -t, --style NAME β€” Output style. Can be nested (default), compact, compressed, or expanded.
  • -?, -h, --help β€” Show this help message.
  • -v, --version β€” Print the Sass version.

πŸ‘€ Watching and Updating: πŸ‘€

  • --watch β€” Watch files or directories for changes. The location of the generated CSS can be set using a colon:
scss --watch input.scss:output.css
scss --watch input-dir:output-dir
  • --poll β€” Check for file changes manually, rather than relying on the OS. Only meaningful for --watch.
  • --update β€” Compile files or directories to CSS. Locations are set like --watch.
  • -f, --force β€” Recompile every Sass file, even if the CSS file is newer. Only meaningful for --update.
  • --stop-on-error β€” If a file fails to compile, exit immediately. Only meaningful for --watch and --update.

πŸ“₯ Input and Output: πŸ“₯

  • --sass β€” Use the indented Sass syntax.
  • --sourcemap=TYPE β€” How to link generated output to the source files.
    • auto (default): relative paths where possible, file URIs elsewhere
    • file: always absolute file URIs
    • inline: include the source text in the sourcemap
    • none: no sourcemaps
  • -s, --stdin β€” Read input from standard input instead of an input file. This is the default if no input file is specified.
  • -E, --default-encoding ENCODING β€” Specify the default encoding for input files.
  • --unix-newlines β€” Use Unix-style newlines in written files. Always true on Unix.
  • -g, --debug-info β€” Emit output that can be used by the FireSass Firebug plugin.
  • -l, --line-numbers β€” Emit comments in the generated CSS indicating the corresponding source line.
  • --line-comments β€” (the original page gives no description here, bestie β€” I'm not making one up πŸ’€)

πŸŽ€ Miscellaneous: πŸŽ€

  • -i, --interactive β€” Run an interactive SassScript shell.
  • -c, --check β€” Just check syntax, don't evaluate.
  • --precision NUMBER_OF_DIGITS β€” How many digits of precision to use when outputting decimal numbers. Defaults to 10.
  • --cache-location PATH β€” The path to save parsed Sass files. Defaults to .sass-cache.
  • -C, --no-cache β€” Don't cache parsed Sass files.
  • --trace β€” Show a full Ruby stack trace on error.
  • -q, --quiet β€” Silence warnings and status messages during compilation.

Ruby Sass 3.7.4 β€” November 2021 β€” RUBY(1). That's the footer, bestie, and this manual page ate. periodt. πŸ«Άβœ¨πŸ’…

πŸ“¦ where this page comes from