Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/cli/check.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ Run fix command instead of check command (this is the default behavior unless HK

Run on files that match these glob patterns

### `-J --json`

Output the plan as JSON when combined with --plan or --why

### `-P --plan`

Print the plan instead of running the hook
Expand All @@ -43,6 +47,10 @@ Print the plan instead of running the hook

Run only specific step(s)

### `-W --why <STEP>`

Show detailed reasons for inclusion/exclusion. Pass a step name to focus on one step, or omit the value to show reasons for all steps. Implies --plan

### `--fail-fast`

Abort on first failure
Expand Down
Loading
Loading