https://pantsbuild.org/ logo
#general
Title
# general
w

wide-midnight-78598

08/08/2022, 2:16 AM
Is there an introspection that will show only the targets declared in build files, and not all the generated targets like in
./pants list ::
?
1
For example, given this list:
Copy code
hellofastapi:hellofastapi-bin
hellofastapi:hellofastapi-dist
hellofastapi:libhellofastapi
hellofastapi/hellofastapi/__init__.py:../libhellofastapi
hellofastapi/hellofastapi/main.py:../libhellofastapi
I was looking for a command that just shows the first 3 (all of which are declared in a build file)
Ah, nice!
./pants filter --filter-granularity=BUILD ::
I love how Pants already knows what ridiculous use cases I'll come up with
❤️ 1