Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --all option to path #9921

Open
IlanCosman opened this issue Jul 29, 2023 · 0 comments
Open

Add --all option to path #9921

IlanCosman opened this issue Jul 29, 2023 · 0 comments

Comments

@IlanCosman
Copy link
Contributor

IlanCosman commented Jul 29, 2023

path filter foo bar baz / path is foo bar baz currently return whether any of foo, bar, or baz pass the filtering criteria.

To check whether all the arguments pass the filter, you currently need to use the terrible double-negate:

not path filter --invert foo bar baz

which is obviously very unergonomic and not fun to reason about.

I propose adding a --all option to path filter to make this useful functionality simpler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant