stylus1
Expressive, robust, feature-rich css language compiler
Overview
-
Usage: stylus [options] [command] [< in [> out]]
-
[file|dir ...]
-
Commands:
- help [<type>:]<prop> Opens help info at MDN for <prop> in
-
your default browser. Optionally searches other resources of <type>: safari opera w3c ms caniuse quirksmode
-
Options:
-
-i, --interactive -
Start interactive REPL
-
-u, --use <path> -
Utilize the Stylus plugin at <path>
-
-U, --inline -
Utilize image inlining via data URI support
-
-w, --watch -
Watch file(s) for changes and re-compile
-
-o, --out <dir> -
Output to <dir> when passing files
-C,--css<src> [dest]-
Convert CSS input to Stylus
-
-I, --include <path> -
Add <path> to lookup paths
-
-c, --compress -
Compress CSS output
-
-d, --compare -
Display input along with output
-
-f, --firebug -
Emits debug infos in the generated CSS that can be used by the FireStylus Firebug plugin
-
-l, --line-numbers -
Emits comments in the generated CSS indicating the corresponding Stylus line
-
-m, --sourcemap -
Generates a sourcemap in sourcemaps v3 format
-
-q, --quiet -
Less noisy output
-
--sourcemap-inline -
Inlines sourcemap with full source text in base64 format
-
--sourcemap-root <url> -
"sourceRoot" property of the generated sourcemap
--sourcemap-base <path> Base <path> from which sourcemap and all sources are relative
-
-P, --prefix [prefix] -
prefix all css classes
-
-p, --print -
Print out the compiled CSS
-
--import <file> -
Import stylus <file>
-
--include-css -
Include regular CSS on @import
-
--ext -
Specify custom file extension for compiled file, default .css
-
-D, --deps -
Display dependencies of the compiled file
-
--disable-cache -
Disable caching
-
--hoist-atrules -
Move @import and @charset to the top
-
-r, --resolve-url -
Resolve relative urls inside imports
-
--resolve-url-nocheck -
Like
--resolve-urlbut without file existence check
-
-V, --version -
Display the version of Stylus
-
-h, --help -
Display help information
Releases
6 releases since Debian 8 (Jessie); the text changed 4 times.
--ext since Debian 11 (Bullseye);
--hoist-atrules since Debian 9 (Stretch);
--quiet since Debian 11 (Bullseye);
--resolve-url-nocheck since Debian 9 (Stretch);
-q since Debian 11 (Bullseye).