Skip to main content
Version: 2.18.x

paths


pants paths [args]

List the paths between two addresses. Either address may represent a group of targets, e.g. --from=src/app/main.py --to=src/library::.

Backend: pants.backend.project_info

Config section: [paths]

Basic options

output_file

--paths-output-file=<path>
PANTS_PATHS_OUTPUT_FILE
default: None

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

from

--paths-from=<str>
PANTS_PATHS_FROM
default: None

The path starting address

to

--paths-to=<str>
PANTS_PATHS_TO
default: None

The path end address

Advanced options

None

Deprecated options

None