Skip to main content
Version: 2.8 (deprecated)

peek


pants peek [args]

Display BUILD target info

Backend: ``

Config section: [peek]

Basic options

exclude_defaults

--[no-]peek-exclude-defaults
PANTS_PEEK_EXCLUDE_DEFAULTS
pants.toml
[peek]
exclude_defaults = <bool>
default: False

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

output_file

--peek-output-file=<path>
PANTS_PEEK_OUTPUT_FILE
pants.toml
[peek]
output_file = <path>
default: None

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

Advanced options

None

Deprecated options

output

--peek-output=<OutputOptions>
PANTS_PEEK_OUTPUT
pants.toml
[peek]
output = <OutputOptions>
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.

None