HomeDocs
DocsCommunityTestimonialsUsersGitHubTwitterBlogJobsTermsPrivacyCookies
TermsPrivacyCookies
Hey! These docs are for version 2.8, which is no longer officially supported. Click here for the latest version, 2.18!




Display BUILD target info

Config section: <span style="color: purple"><code>[peek]</code></span>

## Basic options

<div style="color: purple"> <h3><code>output_file</code></h3> <code>--peek-output-file=&lt;path&gt;</code><br> <code>PANTS_PEEK_OUTPUT_FILE</code><br> </div> <div style="padding-left: 2em;"> <span style="color: green">default: <code>None</code></span>

<br>

Output the goal's stdout to this file. If unspecified, outputs to stdout.

</div> <br>

<div style="color: purple"> <h3><code>exclude_defaults</code></h3> <code>--[no-]peek-exclude-defaults</code><br> <code>PANTS_PEEK_EXCLUDE_DEFAULTS</code><br> </div> <div style="padding-left: 2em;"> <span style="color: green">default: <code>False</code></span>

<br>

Whether to leave off values that match the target-defined default values.

</div> <br>

## Advanced options

None

## Deprecated options

<div style="color: purple"> <h3><code>output</code></h3> <code>--peek-output=&lt;OutputOptions&gt;</code><br> <code>PANTS_PEEK_OUTPUT</code><br> </div> <div style="padding-left: 2em;"> <span style="color: green">one of: <code>raw, json</code></span><br> <span style="color: green">default: <code>json</code></span> <p style="color: darkred">Deprecated, will be removed in version: 2.9.0.dev0.<br>Output will always be JSON. If you need the raw BUILD file contents, look at it directly!</p> <br>

Which output style peek should use: `json` will show each target as a seperate entry, whereas `raw` will simply show the original non-normalized BUILD files.

</div> <br>