filedeps
pants filedeps [args]
List all source and BUILD files a target depends on.
Backend: ``
Config section: [filedeps]
Basic options
absolute
--[no-]filedeps-absolute
PANTS_FILEDEPS_ABSOLUTE
pants.toml
[filedeps]
absolute = <bool>
default:
False
If True, output with absolute path. If unspecified, output with path relative to the build root.
globs
--[no-]filedeps-globs
PANTS_FILEDEPS_GLOBS
pants.toml
[filedeps]
globs = <bool>
default:
False
Instead of outputting filenames, output the original globs used in the BUILD file. This will not include exclude globs (i.e. globs that start with !
).
output_file
--filedeps-output-file=<path>
PANTS_FILEDEPS_OUTPUT_FILE
pants.toml
[filedeps]
output_file = <path>
default:
None
Output the goal's stdout to this file. If unspecified, outputs to stdout.
sep
--filedeps-sep=<separator>
PANTS_FILEDEPS_SEP
pants.toml
[filedeps]
sep = <separator>
default:
\n
String to use to separate lines in line-oriented output.
transitive
--[no-]filedeps-transitive
PANTS_FILEDEPS_TRANSITIVE
pants.toml
[filedeps]
transitive = <bool>
default:
False
If True, list files from all dependencies, including transitive dependencies. If unspecified, only list files from the target.
Advanced options
None
Deprecated options
None