dependees
pants dependees [args]
List all targets that depend on any of the input files/targets.
Backend: ``
Config section: [dependees]
Basic options
closed
--[no-]dependees-closedPANTS_DEPENDEES_CLOSEDpants.toml
[dependees]
closed = <bool>
default:
FalseInclude the input targets in the output, along with the dependees.
output_file
--dependees-output-file=<path>PANTS_DEPENDEES_OUTPUT_FILEpants.toml
[dependees]
output_file = <path>
default:
NoneOutput the goal's stdout to this file. If unspecified, outputs to stdout.
sep
--dependees-sep=<separator>PANTS_DEPENDEES_SEPpants.toml
[dependees]
sep = <separator>
default:
\nString to use to separate lines in line-oriented output.
transitive
--[no-]dependees-transitivePANTS_DEPENDEES_TRANSITIVEpants.toml
[dependees]
transitive = <bool>
default:
FalseList all transitive dependees. If unspecified, list direct dependees only.
Advanced options
None
Deprecated options
output_format
--dependees-output-format=<DependeesOutputFormat>PANTS_DEPENDEES_OUTPUT_FORMATpants.toml
[dependees]
output_format = <DependeesOutputFormat>
one of:
default:
Deprecated, will be removed in version: 2.9.0.dev0.
Use the `peek` goal for structured output, including dependencies.
text, jsondefault:
textDeprecated, will be removed in version: 2.9.0.dev0.
Use the `peek` goal for structured output, including dependencies.
Use text for a flattened list of target addresses; use json for each key to be the address of one of the specified targets, with its value being a list of that target's dependees, e.g. {':example': [':dep1', ':dep2']}.
Related subsystems
None