HomeDocs
DocsCommunityTestimonialsUsersGitHubTwitterBlogJobsTermsPrivacyCookies
TermsPrivacyCookies

dependents

pants dependents [args]

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

Backend: pants.backend.project_info
Config section: [dependents]

Basic options

output_file

--dependents-output-file=<path>

PANTS_DEPENDENTS_OUTPUT_FILE

default: None

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


sep

--dependents-sep=<separator>

PANTS_DEPENDENTS_SEP

default: \n

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


transitive

--[no-]dependents-transitive

PANTS_DEPENDENTS_TRANSITIVE

default: False

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


closed

--[no-]dependents-closed

PANTS_DEPENDENTS_CLOSED

default: False

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


Advanced options

None

Deprecated options

None

Related subsystems

environments-preview, filter