Skip to main content
Version: 2.17.x

dependees


pants dependees [args]

List all targets that depend on any of the input files/targets.

Backend: pants.backend.project_info

Config section: [dependees]

Basic options

output_file

--dependees-output-file=<path>
PANTS_DEPENDEES_OUTPUT_FILE
default: None

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

sep

--dependees-sep=<separator>
PANTS_DEPENDEES_SEP
default: \n

String to use to separate lines in line-oriented output.

transitive

--[no-]dependees-transitive
PANTS_DEPENDEES_TRANSITIVE
default: False

List all transitive dependents. If unspecified, list direct dependents only.

closed

--[no-]dependees-closed
PANTS_DEPENDEES_CLOSED
default: False

Include the input targets in the output, along with the dependents.

Advanced options

None

Deprecated options

None