Skip to main content
Version: 2.17 (deprecated)

peek


pants peek [args]

Display BUILD target info

Backend: pants.backend.project_info

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.

include_dep_rules

--[no-]peek-include-dep-rules
PANTS_PEEK_INCLUDE_DEP_RULES
pants.toml
[peek]
include_dep_rules = <bool>
default: False

Whether to include _dependencies_rules, _dependents_rules and _applicable_dep_rules that apply to the target and its dependencies.

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