dependencies
pants dependencies [args]
List the dependencies of the input files/targets.
Backend: ``
Config section: [dependencies]
Basic options
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.
type
--dependencies-type=<DependencyType>PANTS_DEPENDENCIES_TYPEpants.toml
[dependencies]
type = <DependencyType>
one of:
default:
source, 3rdparty, source-and-3rdpartydefault:
sourceWhich types of dependencies to list, where source means source code dependencies and 3rdparty means third-party requirement strings.
Advanced options
None
Deprecated options
None