Skip to content
Open
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
52 changes: 26 additions & 26 deletions docs/versions/8.0.1/reference/flag-cheatsheet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The following flags are meant to be set explicitly on the command line.

<tr>
<td>
<h3 id="flag-config" data-text="config"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--config">--config</a></code></h3>
<h3 id="flag-config" data-text="config"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--config">`--config`</a></code></h3>
</td>
<td>

Expand All @@ -37,7 +37,7 @@ be selected with <code>--config=<strong>&lt;group&gt;</strong></code>.

<tr>
<td>
<h3 id="flag-keep-going" data-text="keep_going"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--keep_going">--keep_going</a></code></h3>
<h3 id="flag-keep-going" data-text="keep_going"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--keep_going">`--keep_going`</a></code></h3>
</td>
<td>

Expand All @@ -49,7 +49,7 @@ By default, Bazel fails eagerly.

<tr>
<td>
<h3 id="flag-remote-download-outputs" data-text="remote_download_outputs"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--remote_download_outputs">--remote_download_outputs</a></code></h3>
<h3 id="flag-remote-download-outputs" data-text="remote_download_outputs"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--remote_download_outputs">`--remote_download_outputs`</a></code></h3>
</td>
<td>

Expand All @@ -70,7 +70,7 @@ and intermediate artifacts that are necessary for local actions.

<tr>
<td>
<h3 id="flag-stamp" data-text="stamp"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--stamp">--stamp</a></code></h3>
<h3 id="flag-stamp" data-text="stamp"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--stamp">`--stamp`</a></code></h3>
</td>
<td>

Expand All @@ -96,7 +96,7 @@ The following flags can help you better understand Bazel build or test errors.

<tr>
<td>
<h3 id="flag-announce-rc" data-text="announce_rc"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--announce_rc">--announce_rc</a></code></h3>
<h3 id="flag-announce-rc" data-text="announce_rc"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--announce_rc">`--announce_rc`</a></code></h3>
</td>
<td>

Expand All @@ -109,7 +109,7 @@ machine-defined, or project-defined <strong>.bazelrc</strong> files.

<tr>
<td>
<h3 id="flag-auto-output-filter" data-text="auto_output_filter"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--auto_output_filter">--auto_output_filter</a></code></h3>
<h3 id="flag-auto-output-filter" data-text="auto_output_filter"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--auto_output_filter">`--auto_output_filter`</a></code></h3>
</td>
<td>

Expand All @@ -124,7 +124,7 @@ command line. To disable all filtering, set

<tr>
<td>
<h3 id="flag-sandbox-debug" data-text="sandbox_debug"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--sandbox_debug">--sandbox_debug</a></code></h3>
<h3 id="flag-sandbox-debug" data-text="sandbox_debug"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--sandbox_debug">`--sandbox_debug`</a></code></h3>
</td>
<td>

Expand All @@ -147,7 +147,7 @@ builds by default and what gets sandboxed, see our

<tr>
<td>
<h3 id="flag-subcommands" data-text="subcommands"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--subcommands">--subcommands (-s)</a></code></h3>
<h3 id="flag-subcommands" data-text="subcommands"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--subcommands">`--subcommands (-s)`</a></code></h3>
</td>
<td>

Expand All @@ -170,7 +170,7 @@ a server restart. Toggle these flags with caution.

<tr>
<td>
<h3 id="flag-bazelrc" data-text="bazelrc"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--bazelrc">--bazelrc</a></code></h3>
<h3 id="flag-bazelrc" data-text="bazelrc"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--bazelrc">`--bazelrc`</a></code></h3>
</td>
<td>

Expand All @@ -193,7 +193,7 @@ the .bazelrc file&gt;</strong></code>.

<tr>
<td>
<h3 id="flag-host-jvm-args" data-text="host_jvm_args"><code><a href="https://bazel.build/versions/8.0.1/docs/user-manual#host-jvm-args">--host_jvm_args</a></code></h3>
<h3 id="flag-host-jvm-args" data-text="host_jvm_args"><code><a href="https://bazel.build/versions/8.0.1/docs/user-manual#host-jvm-args">`--host_jvm_args`</a></code></h3>
</td>
<td>

Expand Down Expand Up @@ -226,7 +226,7 @@ For example, the following limits the Bazel heap size to <strong>3</strong>GB:

<tr>
<td>
<h3 id="flag-output-base" data-text="output_base"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--output_base">--output_base</a></code></h3>
<h3 id="flag-output-base" data-text="output_base"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--output_base">`--output_base`</a></code></h3>
</td>
<td>

Expand Down Expand Up @@ -257,7 +257,7 @@ The following flags are related to Bazel test

<tr>
<td>
<h3 id="flag-java-debug" data-text="java_debug"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--java_debug">--java_debug</a></code></h3>
<h3 id="flag-java-debug" data-text="java_debug"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--java_debug">`--java_debug`</a></code></h3>
</td>
<td>

Expand All @@ -269,7 +269,7 @@ Causes Java tests to wait for a debugger connection before being executed.

<tr>
<td>
<h3 id="flag-runs-per-test" data-text="runs_per_test"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--runs_per_test">--runs_per_test</a></code></h3>
<h3 id="flag-runs-per-test" data-text="runs_per_test"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--runs_per_test">`--runs_per_test`</a></code></h3>
</td>
<td>

Expand All @@ -283,7 +283,7 @@ flaky tests and see whether a fix causes a test to pass consistently.

<tr>
<td>
<h3 id="flag-test-output" data-text="test_output"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--test_output">--test_output</a></code></h3>
<h3 id="flag-test-output" data-text="test_output"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--test_output">`--test_output`</a></code></h3>
</td>
<td>

Expand All @@ -308,7 +308,7 @@ The following flags are related to Bazel run.

<tr>
<td>
<h3 id="flag-run-under" data-text="run_under"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--run_under">--run_under</a></code></h3>
<h3 id="flag-run-under" data-text="run_under"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--run_under">`--run_under`</a></code></h3>
</td>
<td>

Expand All @@ -333,7 +333,7 @@ options.

<tr>
<td>
<h3 id="flag-disk-cache" data-text="disk_cache"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--disk_cache">--disk_cache</a></code></h3>
<h3 id="flag-disk-cache" data-text="disk_cache"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--disk_cache">`--disk_cache`</a></code></h3>
</td>
<td>

Expand All @@ -350,7 +350,7 @@ up Bazel builds by adding

<tr>
<td>
<h3 id="flag-jobs" data-text="jobs"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--jobs">--jobs</a></code></h3>
<h3 id="flag-jobs" data-text="jobs"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--jobs">`--jobs`</a></code></h3>
</td>
<td>

Expand All @@ -365,7 +365,7 @@ cluster executes more jobs than you have cores locally.

<tr>
<td>
<h3 id="flag-local-resources" data-text="local_resources"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--local_resources">--local_resources</a></code></h3>
<h3 id="flag-local-resources" data-text="local_resources"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--local_resources">`--local_resources`</a></code></h3>
</td>
<td>

Expand All @@ -382,7 +382,7 @@ Limits how much CPU or RAM is consumed by locally running actions.

<tr>
<td>
<h3 id="flag-sandbox-base" data-text="sandbox_base"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--sandbox_base">--sandbox_base</a></code></h3>
<h3 id="flag-sandbox-base" data-text="sandbox_base"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--sandbox_base">`--sandbox_base`</a></code></h3>
</td>
<td>

Expand Down Expand Up @@ -412,7 +412,7 @@ options.

<tr>
<td>
<h3 id="flag-flaky-test-attempts" data-text="flaky_test_attempts"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--flaky_test_attempts">--flaky_test_attempts</a></code></h3>
<h3 id="flag-flaky-test-attempts" data-text="flaky_test_attempts"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--flaky_test_attempts">`--flaky_test_attempts`</a></code></h3>
</td>
<td>

Expand All @@ -427,7 +427,7 @@ the test summary.

<tr>
<td>
<h3 id="flag-remote-cache" data-text="remote_cache"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--remote_cache">--remote_cache</a></code></h3>
<h3 id="flag-remote-cache" data-text="remote_cache"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--remote_cache">`--remote_cache`</a></code></h3>
</td>
<td>

Expand All @@ -440,7 +440,7 @@ speed up Bazel builds. It can be combined with a local disk cache.

<tr>
<td>
<h3 id="flag-remote-download-regex" data-text="remote_download_regex"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--remote_download_regex">--remote_download_regex</a></code></h3>
<h3 id="flag-remote-download-regex" data-text="remote_download_regex"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--remote_download_regex">`--remote_download_regex`</a></code></h3>
</td>
<td>

Expand All @@ -454,7 +454,7 @@ patterns may be specified by repeating this flag.

<tr>
<td>
<h3 id="flag-remote-executor" data-text="remote_executor"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--remote_executor">--remote_executor</a></code></h3>
<h3 id="flag-remote-executor" data-text="remote_executor"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--remote_executor">`--remote_executor`</a></code></h3>
</td>
<td>

Expand All @@ -468,7 +468,7 @@ a remote execution service. You'll often need to Add

<tr>
<td>
<h3 id="flag-remote-instance-name" data-text="remote_instance_name"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--remote_instance_name">--remote_instance_name</a></code></h3>
<h3 id="flag-remote-instance-name" data-text="remote_instance_name"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--remote_instance_name">`--remote_instance_name`</a></code></h3>
</td>
<td>

Expand All @@ -480,7 +480,7 @@ The value to pass as <code>instance_name</code> in the remote execution API.

<tr>
<td>
<h3 id="flag-show-timestamps" data-text="show-timestamps"><code><a href="https://bazel.build/versions/8.0.1/docs/user-manual#show-timestamps">--show-timestamps</a></code></h3>
<h3 id="flag-show-timestamps" data-text="show-timestamps"><code><a href="https://bazel.build/versions/8.0.1/docs/user-manual#show-timestamps">`--show-timestamps`</a></code></h3>
</td>
<td>

Expand All @@ -494,7 +494,7 @@ quickly understand what step took how long.

<tr>
<td>
<h3 id="flag-spawn-strategy" data-text="spawn_strategy"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--spawn_strategy">--spawn_strategy</a></code></h3>
<h3 id="flag-spawn-strategy" data-text="spawn_strategy"><code><a href="https://bazel.build/versions/8.0.1/reference/command-line-reference#flag--spawn_strategy">`--spawn_strategy`</a></code></h3>
</td>
<td>

Expand Down
Loading