Hey! These docs are for version 2.8, which is no longer officially supported. Click here for the latest version, 2.15!






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

Config section: <span style="color: purple"><code>[dependees]</code></span>

## Basic options

<div style="color: purple"> <h3><code>output_file</code></h3> <code>--dependees-output-file=&lt;path&gt;</code><br> <code>PANTS_DEPENDEES_OUTPUT_FILE</code><br> </div> <div style="padding-left: 2em;"> <span style="color: green">default: <code>None</code></span>

<br>

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

</div> <br>

<div style="color: purple"> <h3><code>sep</code></h3> <code>--dependees-sep=&lt;separator&gt;</code><br> <code>PANTS_DEPENDEES_SEP</code><br> </div> <div style="padding-left: 2em;"> <span style="color: green">default: <code>\n</code></span>

<br>

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

</div> <br>

<div style="color: purple"> <h3><code>transitive</code></h3> <code>--[no-]dependees-transitive</code><br> <code>PANTS_DEPENDEES_TRANSITIVE</code><br> </div> <div style="padding-left: 2em;"> <span style="color: green">default: <code>False</code></span>

<br>

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

</div> <br>

<div style="color: purple"> <h3><code>closed</code></h3> <code>--[no-]dependees-closed</code><br> <code>PANTS_DEPENDEES_CLOSED</code><br> </div> <div style="padding-left: 2em;"> <span style="color: green">default: <code>False</code></span>

<br>

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

</div> <br>

## Advanced options

None

## Deprecated options

<div style="color: purple"> <h3><code>output_format</code></h3> <code>--dependees-output-format=&lt;DependeesOutputFormat&gt;</code><br> <code>PANTS_DEPENDEES_OUTPUT_FORMAT</code><br> </div> <div style="padding-left: 2em;"> <span style="color: green">one of: <code>text, json</code></span><br> <span style="color: green">default: <code>text</code></span> <p style="color: darkred">Deprecated, will be removed in version: 2.9.0.dev0.<br>Use the `peek` goal for structured output, including dependencies.</p> <br>

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']}`.

</div> <br>