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




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"> <h3><code>output_file</code></h3> <code>--dependencies-output-file=&lt;path&gt;</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"> <h3><code>sep</code></h3> <code>--dependencies-sep=&lt;separator&gt;</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"> <h3><code>transitive</code></h3> <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"> <h3><code>closed</code></h3> <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