Skip to main content
Version: 2.23 (prerelease)

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

from

--paths-from=<str>
PANTS_PATHS_FROM
pants.toml
[paths]
from = <str>
default: None

The path starting address

output_file

--paths-output-file=<path>
PANTS_PATHS_OUTPUT_FILE
pants.toml
[paths]
output_file = <path>
default: None

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

to

--paths-to=<str>
PANTS_PATHS_TO
pants.toml
[paths]
to = <str>
default: None

The path end address

Advanced options

None

Deprecated options

None