HomeDocs
DocsCommunityTestimonialsUsersGitHubTwitterBlogJobsTermsPrivacyCookies
TermsPrivacyCookies
Hey! These docs are for version 2.14, which is no longer officially supported. Click here for the latest version, 2.17!




List the dependencies of the input files/targets.

Backend: <span style="color: purple"><code>pants.backend.project_info</code></span> Config section: <span style="color: purple"><code>[dependencies]</code></span>

## Basic options

<div style="color: purple">

### `output_file`

<code>--dependencies-output-file=<path></code><br> <code>PANTS_DEPENDENCIES_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">

### `sep`

<code>--dependencies-sep=<separator></code><br> <code>PANTS_DEPENDENCIES_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">

### `transitive`

<code>--[no-]dependencies-transitive</code><br> <code>PANTS_DEPENDENCIES_TRANSITIVE</code><br>

</div> <div style="padding-left: 2em;"> <span style="color: green">default: <code>False</code></span>

<br>

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

</div> <br>

<div style="color: purple">

### `closed`

<code>--[no-]dependencies-closed</code><br> <code>PANTS_DEPENDENCIES_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 dependencies.

</div> <br>

## Advanced options

None

## Deprecated options

None

## Related subsystems

[filter](🔗)