Skip to content

Commit

Permalink
Add example to cli usage guide (#4926)
Browse files Browse the repository at this point in the history
  • Loading branch information
binyamin committed Sep 13, 2020
1 parent 528c06d commit 89a530b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/user-guide/usage/cli.md
Expand Up @@ -114,6 +114,14 @@ Recursively linting all `.css` files in the `foo` directory using a custom synta
stylelint "foo/**/*.css" --customSyntax path/to/my-custom-syntax.js
```

### Example I - print on success

Ensure output on successful runs:

```shell
stylelint -f verbose "foo/**/*.css"
```

## Exit codes

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

0 comments on commit 89a530b

Please sign in to comment.