CLI
The command line interface for Stilvoll. Made for tech-stacks not using a Javascript build pipeline, so it’s the perfect fit for Kirby, Wordpress, etc.
Installation
-
Install
stilvoll
and@stilvoll/cli
-
Create a
stilvoll.config.js
file by either runningstilvoll init
, or by manually setting up a config file: -
Run the CLI to generate your utility CSS.
You can also run the CLI in watch mode, so changes made to your CSS or markup files trigger a rebuild.
…or set them up as npm scripts
Options
Options | |
---|---|
-v, --version | Display the current version of Stilvoll |
-w, --watch | Run in watch mode, file changes trigger a rebuild |
-t, --types | Generate type definitions only, skipping CSS output |
--verbose | Output additional debug information |
--dry | Dry run, don’t write any files |