dependencies
pants dependencies [args]
List the dependencies of the input files/targets.
Backend: pants.backend.project_info
Config section: [dependencies]
Basic options
closed
--[no-]dependencies-closedPANTS_DEPENDENCIES_CLOSEDpants.toml
[dependencies]
closed = <bool>
default:
FalseInclude the input targets in the output, along with the dependencies.
format
--dependencies-format=<DependenciesOutputFormat>PANTS_DEPENDENCIES_FORMATpants.toml
[dependencies]
format = <DependenciesOutputFormat>
one of:
default:
text, jsondefault:
textOutput format for listing dependencies.
output_file
--dependencies-output-file=<path>PANTS_DEPENDENCIES_OUTPUT_FILEpants.toml
[dependencies]
output_file = <path>
default:
NoneOutput the goal's stdout to this file. If unspecified, outputs to stdout.
sep
--dependencies-sep=<separator>PANTS_DEPENDENCIES_SEPpants.toml
[dependencies]
sep = <separator>
default:
\nString to use to separate lines in line-oriented output.
transitive
--[no-]dependencies-transitivePANTS_DEPENDENCIES_TRANSITIVEpants.toml
[dependencies]
transitive = <bool>
default:
FalseList all transitive dependencies. If unspecified, list direct dependencies only.
Advanced options
None
Deprecated options
None