HomeDocs
DocsCommunityTestimonialsUsersGitHubTwitterBlogJobsTermsPrivacyCookies
TermsPrivacyCookies
Hey! These docs are for version 2.8, which is no longer officially supported. Click here for the latest version, 2.15!
./pants peek [args]

Display BUILD target info

Config section: [peek]

Basic options

output_file

--peek-output-file=<path>
PANTS_PEEK_OUTPUT_FILE
default: None

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


exclude_defaults

--[no-]peek-exclude-defaults
PANTS_PEEK_EXCLUDE_DEFAULTS
default: False

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


Advanced options

None

Deprecated options

output

--peek-output=<OutputOptions>
PANTS_PEEK_OUTPUT
one of: raw, json
default: json

Deprecated, will be removed in version: 2.9.0.dev0.
Output will always be JSON. If you need the raw BUILD file contents, look at it directly!


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.