Skip to content

Commit

Permalink
Update CLI docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ernilambar committed Aug 9, 2024
1 parent b47281d commit c84b075
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/CLI.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Back to overview](./README.md)

# wp plugin check
# wp plugin check

Runs plugin check.

Expand Down Expand Up @@ -50,6 +50,12 @@ By default, `.git`, `vendor` and `node_modules` directories are excluded.
[--severity=<severity>]
: Severity level.
[--error-severity=<error-severity>]
: Error severity level.
[--warning-severity=<warning-severity>]
: Warning severity level.
```
## EXAMPLES
```
Expand All @@ -58,7 +64,7 @@ wp plugin check akismet --checks=late_escaping
wp plugin check akismet --format=json
```

# wp plugin list-checks
# wp plugin list-checks

Lists the available checks for plugins.

Expand Down Expand Up @@ -89,7 +95,7 @@ wp plugin list-checks
wp plugin list-checks --format=json
```

# wp plugin list-check-categories
# wp plugin list-check-categories

Lists the available check categories for plugins.

Expand Down

0 comments on commit c84b075

Please sign in to comment.