Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeseda committed May 24, 2024
1 parent 8c1e495 commit 6f35d5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,20 +238,20 @@ npm i -D @enhance/styles
The built in CLI, `enhance-styles`, takes two arguments: `--config=` and `--output=`. The `--config` argument is the path to your configuration file and the `--output` argument is the path where the .css file will be created.

If you do not specify config, the default configuration will be used.
You can use the default configuration or create your own. We recommend a local project file like `./enhance-styles.json`.
You can use the default configuration or [create your own](#customize). We recommend a local project file like `./styleguide.json`.

If you do not specify output, the CSS will be printed to stdout.

```shell
npx enhance-styles --config=./enhance-styles.json --output=./public/enhance.css
npx enhance-styles --config=./styleguide.json --output=./public/enhance.css
```

Or add it as a script to your package.json:

```json
{
"scripts": {
"enhance-styles": "enhance-styles --config=./enhance-styles.json --output=./public/enhance.css"
"enhance-styles": "enhance-styles --config=./styleguide.json --output=./public/enhance.css"
}
}
```
Expand Down

0 comments on commit 6f35d5a

Please sign in to comment.