Hey guys! I was unable to identify in the document...
# general
r
Hey guys! I was unable to identify in the documentation how I can list files defined with a specific name in BUILD. For example:
python_sources(name="scripts")
Is it possible to perform a command to list all files that are marked with
name="scripts"
?
b
I think you should be able to do it with https://www.pantsbuild.org/docs/reference-filter#address_regex, see also https://www.pantsbuild.org/docs/advanced-target-selection#filter-options Maybe something like
pants list --filter-address-regex=':scripts$' ::
1