square-psychiatrist-19087
11/01/2023, 10:40 PMpants dependencies
, for example, in json?broad-processor-92400
11/01/2023, 10:43 PMpants peek
gives JSON-formatted info, including dependencies. You may need to combine multiple steps like pants dependencies ... | xargs pants peek ...
and/or post-process the JSON to get exactly what you wantsquare-psychiatrist-19087
11/01/2023, 10:46 PMbroad-processor-92400
11/01/2023, 10:48 PMdependencies --transitive
and the pipe. Either that or pants peek ::
and then computing the transitive dependencies yourself from that output.
I don't know of a single call that does what it sounds like you want to do.square-psychiatrist-19087
11/01/2023, 10:48 PM