./pants dependees [args]
List all targets that depend on any of the input files/targets.
Config section: [dependees]
Basic options
--dependees-output-file=<path>
PANTS_DEPENDEES_OUTPUT_FILE
output_file
None
Output the goal's stdout to this file. If unspecified, outputs to stdout.
--dependees-sep=<separator>
PANTS_DEPENDEES_SEP
sep
\n
String to use to separate lines in line-oriented output.
--[no-]dependees-transitive
PANTS_DEPENDEES_TRANSITIVE
transitive
False
List all transitive dependees, instead of only direct dependees.
--[no-]dependees-closed
PANTS_DEPENDEES_CLOSED
closed
False
Include the input targets in the output, along with the dependees.
--dependees-output-format=<DependeesOutputFormat>
PANTS_DEPENDEES_OUTPUT_FORMAT
output_format
text, json
default:
text
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']}`.
Advanced options
None
Deprecated options
None
Related subsystems
dependees, download-pex-bin, grpc_python_plugin, pex, protoc, python-infer, python-native-code, python-protobuf, python-repos, python-setup, source, subprocess-environment
Updated 2 months ago