cool-easter-32542
05/18/2023, 3:41 PM./pants dependencies2 --dependencies2-type=3rdparty :: | sort -u > ./requirements.txt
In 2.15 there does not seem to be an equivalent of the type arg:
`dependencies` goal options
---------------------------
List the dependencies of the input files/targets.
Activated by pants.backend.project_info
Config section: [dependencies]
--dependencies-output-file=<path>
PANTS_DEPENDENCIES_OUTPUT_FILE
output_file
default: None
current value: None
Output the goal's stdout to this file. If unspecified, outputs to stdout.
--dependencies-sep=<separator>
PANTS_DEPENDENCIES_SEP
sep
default: \n
current value: \n
String to use to separate lines in line-oriented output.
--[no-]dependencies-transitive
PANTS_DEPENDENCIES_TRANSITIVE
transitive
default: False
current value: False
List all transitive dependencies. If unspecified, list direct dependencies only.
--[no-]dependencies-closed
PANTS_DEPENDENCIES_CLOSED
closed
default: False
current value: False
Include the input targets in the output, along with the dependencies.
Jesse
pantsbuild/pants