melodic-thailand-99227
12/02/2021, 11:01 AMcurved-television-6568
12/02/2021, 11:23 AM./pants graphs --from-target=tgt1 tgt2
3. I’ve got no answer for this one.melodic-thailand-99227
12/02/2021, 11:37 AMsubdir/a.py
subdir/b.py
and I get in the goal 3 addresses subdir/a.py
subdir/b.py
subdir:main
meta=address
or something?curved-television-6568
12/02/2021, 11:42 AMsubdir:main
is the generator for those other two.. not sure why it shows up, though.. guess that’s an implementation detail. Perhaps you only want to work with file targets, though.. so you could filter those addresses on addr.is_file_target
( https://github.com/pantsbuild/pants/blob/main/src/python/pants/build_graph/address.py#L288 )is there a special option for an address?
meta=address
or something?Don’t understand this question..
melodic-thailand-99227
12/02/2021, 11:51 AM--from
is the option builder for addresscurved-television-6568
12/02/2021, 11:57 AMmelodic-thailand-99227
12/02/2021, 11:58 AMcurved-television-6568
12/02/2021, 11:59 AMawait Get(Targets, UnparsedAddressInputs, unparsed)
melodic-thailand-99227
12/02/2021, 1:35 PMcurved-television-6568
12/02/2021, 1:54 PM