ultra-runner icon indicating copy to clipboard operation
ultra-runner copied to clipboard

feat: allow multiple filters

Open axelhzf opened this issue 3 years ago • 0 comments

My first approach was trying to use minimatch instead of globrex. Minimatch allow patterns like */+(lib1|lib2). The problem with this syntax is that it could conflict with the syntax to include the dependencies.

Finally, I decided to update the options parser to accept an array of filters.

Example:

ultra -r --filter "*/lib1" --filter "*/lib2" build

This feature was already requested on https://github.com/folke/ultra-runner/issues/182

axelhzf avatar Nov 14 '21 13:11 axelhzf