Skip to main content
Version: 2.23 (prerelease)

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_additional_info

--[no-]peek-include-additional-info
PANTS_PEEK_INCLUDE_ADDITIONAL_INFO
pants.toml
[peek]
include_additional_info = <bool>
default: False

Whether to include additional information generated by plugins.

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