Skip to content

Commit

Permalink
Add an example to doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Jun 10, 2023
1 parent df4e5c9 commit 96a8f59
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/user-guide/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Path of file to write a report. Stylelint outputs the report to the specified `f

### `--print-config`

Print the configuration for the given input path.
Print the configuration for the given input path. Globs are unsupported.

### `--quiet, -q`

Expand Down Expand Up @@ -206,6 +206,14 @@ Ensure output on successful runs:
stylelint -f verbose "foo/**/*.css"
```

### Example J - print a config

Print a configuration used for the given input file:

```shell
stylelint test.css --print-config
```

## Exit codes

The CLI can exit the process with the following exit codes:
Expand Down

0 comments on commit 96a8f59

Please sign in to comment.