hasundue / molt

Update dependencies the Deno way
https://jsr.io/@molt
MIT License
78 stars 5 forks source link

cli: allow multiple RegExp patterns passed to `--only` and `--ignore`? #203

Open hasundue opened 1 month ago

hasundue commented 1 month ago

I removed the capability to accept multiple patterns in 0.19.0 for a little bit of simplicity and consistency with deno test --filter.

However,

molt --only "@std|@chiezo"

is probably less ergonomic than

molt --only=@std,@chiezo

Also, WalkOptions.match provides an API to filter files with multiple patterns. So the design is also consistent with the Deno ecosystem.