css-beautify1
Css-beautify
Overview
CLI Options:
-
-f, --file -
Input file(s) (Pass '-' for stdin)
-
-r, --replace -
Write output in-place, replacing input
-
-o, --outfile -
Write output to file (default stdout)
-
--config -
Path to config file
-
--type -
[js|css|html] ["js"]
-
-q, --quiet -
Suppress logging to stdout
-
-h, --help -
Show this help
-
-v, --version -
Show the version
Beautifier Options:
-
-s, --indent-size -
Indentation size [4]
-
-c, --indent-char -
Indentation character [" "]
-
-t, --indent-with-tabs -
Indent with tabs, overrides
-sand-c
-
-e, --eol -
Character(s) to use as line terminators. [first newline in file, otherwise "\n]
-
-n, --end-with-newline -
End output with newline
-
--indent-empty-lines -
Keep indentation on empty lines
-
--templating -
List of templating languages (auto,none,django,erb,handlebars,php,smarty) ["auto"] auto = none in JavaScript, all in html
-
--editorconfig -
Use EditorConfig to set up the options
-
-b, --brace-style -
[collapse|expand] ["collapse"]
-
-L, --selector-separator-newline -
Add a newline between multiple selectors.
-
-N, --newline-between-rules -
Add a newline between CSS rules.