Skip to main content
Version: 2.7 (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 when using json output.

output

--peek-output=<OutputOptions>
PANTS_PEEK_OUTPUT
pants.toml
[peek]
output = <OutputOptions>
one of: raw, json
default: json

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.

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

None

None