You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 23815bd
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/reference/cli.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -233,20 +233,20 @@ prek run [OPTIONS] [HOOK|PROJECT]...
233
233
</dd><dtid="prek-run--glob"><ahref="#prek-run--glob"><code>--glob</code></a> <i>pattern</i></dt><dd><p>Run hooks on tracked files matching the specified glob pattern.</p>
234
234
<p>Patterns are matched against paths relative to the current working directory after applying <code>--cd</code>. Quote patterns to prevent shell expansion. This option can be repeated and combined with <code>--files</code> and <code>--directory</code>.</p>
235
235
</dd><dtid="prek-run--group"><ahref="#prek-run--group"><code>--group</code></a> <i>group</i></dt><dd><p>Run hooks belonging to the specified group.</p>
236
-
<p>Can be specified multiple times; a hook may match any specified group. When combined with <code>--require-group</code>, both filters must match. <code>@ungrouped</code> matches hooks without groups, while <code>@builtin</code> matches hooks from the builtin repository.</p>
236
+
<p>Can be specified multiple times; a hook may match any specified group. When combined with <code>--require-group</code>, both filters must match. <code>@ungrouped</code> matches hooks without groups.</p>
237
237
</dd><dtid="prek-run--help"><ahref="#prek-run--help"><code>--help</code></a>, <code>-h</code></dt><dd><p>Display the concise help for this command</p>
238
238
</dd><dtid="prek-run--last-commit"><ahref="#prek-run--last-commit"><code>--last-commit</code></a></dt><dd><p>Run hooks against the last commit. Equivalent to <code>--from-ref HEAD~1 --to-ref HEAD</code></p>
239
239
</dd><dtid="prek-run--log-file"><ahref="#prek-run--log-file"><code>--log-file</code></a> <i>log-file</i></dt><dd><p>Write trace logs to the specified file. If not specified, trace logs will be written to <code>$PREK_HOME/prek.log</code></p>
240
240
</dd><dtid="prek-run--no-group"><ahref="#prek-run--no-group"><code>--no-group</code></a> <i>group</i></dt><dd><p>Do not run hooks belonging to the specified group.</p>
241
-
<p>Can be specified multiple times. Exclusion wins over inclusion. The special selectors <code>@ungrouped</code> and <code>@builtin</code> are also supported.</p>
241
+
<p>Can be specified multiple times. Exclusion wins over inclusion. The special selector <code>@ungrouped</code> is also supported.</p>
242
242
</dd><dtid="prek-run--no-progress"><ahref="#prek-run--no-progress"><code>--no-progress</code></a></dt><dd><p>Hide all progress outputs.</p>
<p>Repeating this option, e.g., <code>-qq</code>, will enable a silent mode in which prek will write no output to stdout.</p>
246
246
<p>May also be set with the <code>PREK_QUIET</code> environment variable.</p></dd><dtid="prek-run--refresh"><ahref="#prek-run--refresh"><code>--refresh</code></a></dt><dd><p>Refresh all cached data</p>
247
247
</dd><dtid="prek-run--require-group"><ahref="#prek-run--require-group"><code>--require-group</code></a> <i>group</i></dt><dd><p>Run hooks belonging to every specified group.</p>
248
248
<p>Can be specified multiple times; a hook must match every specified group. When combined with <code>--group</code>, it must also match at least one <code>--group</code>. <code>--no-group</code> excludes matching hooks regardless of argument order.</p>
249
-
<p>For example, <code>--require-group fast --group format --group lint-only</code> selects hooks in <code>fast</code> and either <code>format</code> or <code>lint-only</code>. The special selectors <code>@ungrouped</code> and <code>@builtin</code> are also supported.</p>
249
+
<p>For example, <code>--require-group fast --group format --group lint-only</code> selects hooks in <code>fast</code> and either <code>format</code> or <code>lint-only</code>. The special selector <code>@ungrouped</code> is also supported.</p>
250
250
</dd><dtid="prek-run--show-diff-on-failure"><ahref="#prek-run--show-diff-on-failure"><code>--show-diff-on-failure</code></a></dt><dd><p>When hooks fail, run <code>git diff</code> directly afterward</p>
251
251
</dd><dtid="prek-run--skip"><ahref="#prek-run--skip"><code>--skip</code></a> <i>hook|project</i></dt><dd><p>Skip the specified hooks or projects.</p>
252
252
<p>Supports flexible selector syntax:</p>
@@ -359,7 +359,7 @@ prek list [OPTIONS] [HOOK|PROJECT]...
</ul></dd><dtid="prek-list--config"><ahref="#prek-list--config"><code>--config</code></a>, <code>-c</code> <i>config</i></dt><dd><p>Path to alternate config file</p>
361
361
</dd><dtid="prek-list--group"><ahref="#prek-list--group"><code>--group</code></a> <i>group</i></dt><dd><p>Show hooks belonging to the specified group.</p>
362
-
<p>Can be specified multiple times. <code>@ungrouped</code> matches hooks without groups, while <code>@builtin</code> matches hooks from the builtin repository.</p>
362
+
<p>Can be specified multiple times. <code>@ungrouped</code> matches hooks without groups.</p>
363
363
</dd><dtid="prek-list--help"><ahref="#prek-list--help"><code>--help</code></a>, <code>-h</code></dt><dd><p>Display the concise help for this command</p>
364
364
</dd><dtid="prek-list--hook-stage"><ahref="#prek-list--hook-stage"><code>--hook-stage</code></a> <i>hook-stage</i></dt><dd><p>Show only hooks that has the specified stage</p>
365
365
<p>Possible values:</p>
@@ -405,7 +405,7 @@ prek list [OPTIONS] [HOOK|PROJECT]...
405
405
<li><code>system</code></li>
406
406
</ul></dd><dtid="prek-list--log-file"><ahref="#prek-list--log-file"><code>--log-file</code></a> <i>log-file</i></dt><dd><p>Write trace logs to the specified file. If not specified, trace logs will be written to <code>$PREK_HOME/prek.log</code></p>
407
407
</dd><dtid="prek-list--no-group"><ahref="#prek-list--no-group"><code>--no-group</code></a> <i>group</i></dt><dd><p>Do not show hooks belonging to the specified group.</p>
408
-
<p>Can be specified multiple times. Exclusion wins over inclusion. The special selectors <code>@ungrouped</code> and <code>@builtin</code> are also supported.</p>
408
+
<p>Can be specified multiple times. Exclusion wins over inclusion. The special selector <code>@ungrouped</code> is also supported.</p>
409
409
</dd><dtid="prek-list--no-progress"><ahref="#prek-list--no-progress"><code>--no-progress</code></a></dt><dd><p>Hide all progress outputs.</p>
@@ -417,7 +417,7 @@ prek list [OPTIONS] [HOOK|PROJECT]...
417
417
<p>Repeating this option, e.g., <code>-qq</code>, will enable a silent mode in which prek will write no output to stdout.</p>
418
418
<p>May also be set with the <code>PREK_QUIET</code> environment variable.</p></dd><dtid="prek-list--refresh"><ahref="#prek-list--refresh"><code>--refresh</code></a></dt><dd><p>Refresh all cached data</p>
419
419
</dd><dtid="prek-list--require-group"><ahref="#prek-list--require-group"><code>--require-group</code></a> <i>group</i></dt><dd><p>Show hooks belonging to every specified group.</p>
420
-
<p>Can be specified multiple times. Composes with <code>--group</code> and <code>--no-group</code>. The special selectors <code>@ungrouped</code> and <code>@builtin</code> are also supported.</p>
420
+
<p>Can be specified multiple times. Composes with <code>--group</code> and <code>--no-group</code>. The special selector <code>@ungrouped</code> is also supported.</p>
421
421
</dd><dtid="prek-list--skip"><ahref="#prek-list--skip"><code>--skip</code></a> <i>hook|project</i></dt><dd><p>Skip the specified hooks or projects.</p>
0 commit comments