PR coming soon to add `./pants --filter-target-typ...
# development
h
PR coming soon to add
./pants --filter-target-type=python_test test ::
, i.e. you can now use
filter
from anywhere. No need to
./pants filter --target-type=python_test | xargs ./pants test
🎉 Thoughts on deprecating
filter
?
🙌 1
🎉 1
1
❤️ 2
It literally is identical to
list
now. Sole benefit is you can type
./pants filter --opt1 --opt2
rather than
./pants --filter-opt1 --filter-opt-2
, i.e. the shorthand for option names The motivation to deprecate is to have fewer goals, meaning fewer things for users to learn etc
b
+1 on fewer goals!
❤️ 1
👍 1
Also, huzzah!!!! 🎉
h
Super easy to implement thanks to all the refactoring past two weeks 🥳
b
You are going to have a lot of fun doing the 2.13 blog post
❤️ 1
h
hehe yes, and taking a blowtorch to https://www.pantsbuild.org/docs/goals#goal-arguments
b
🔥
h
+1 to getting rid of the
filter
goal!
4