dependencies

./pants dependencies [args]

List the dependencies of the input files/targets.

Backend: pants.backend.project_info
Config section: [dependencies]

Basic options

output_file

--dependencies-output-file=<path>
PANTS_DEPENDENCIES_OUTPUT_FILE
default: None

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


sep

--dependencies-sep=<separator>
PANTS_DEPENDENCIES_SEP
default: \n

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


transitive

--[no-]dependencies-transitive
PANTS_DEPENDENCIES_TRANSITIVE
default: False

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


closed

--[no-]dependencies-closed
PANTS_DEPENDENCIES_CLOSED
default: False

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


Advanced options

None

Deprecated options

None


Did this page help you?