Skip to main content
Version: 2.25 (dev)

roots


pants roots [args]

List the repo's registered source roots.

Backend: pants.backend.project_info

Config section: [roots]

Basic options

output_file

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

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

sep

--roots-sep=<separator>
PANTS_ROOTS_SEP
pants.toml
[roots]
sep = <separator>
default: \n

String to use to separate lines in line-oriented output.

Advanced options

None

Deprecated options

None