filedeps
pants filedeps [args]
List all source and BUILD files a target depends on.
Backend: ``
Config section: [filedeps]
Basic options
absolute
--[no-]filedeps-absolutePANTS_FILEDEPS_ABSOLUTEpants.toml
[filedeps]
absolute = <bool>
default:
FalseIf True, output with absolute path. If unspecified, output with path relative to the build root.
globs
--[no-]filedeps-globsPANTS_FILEDEPS_GLOBSpants.toml
[filedeps]
globs = <bool>
default:
FalseInstead 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_FILEpants.toml
[filedeps]
output_file = <path>
default:
NoneOutput the goal's stdout to this file. If unspecified, outputs to stdout.
sep
--filedeps-sep=<separator>PANTS_FILEDEPS_SEPpants.toml
[filedeps]
sep = <separator>
default:
\nString to use to separate lines in line-oriented output.
transitive
--[no-]filedeps-transitivePANTS_FILEDEPS_TRANSITIVEpants.toml
[filedeps]
transitive = <bool>
default:
FalseIf True, list files from all dependencies, including transitive dependencies. If unspecified, only list files from the target.
Advanced options
None
Deprecated options
None