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

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

Open
hasundue opened this issue Jul 30, 2024 · 0 comments
Open

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

hasundue opened this issue Jul 30, 2024 · 0 comments

Comments

@hasundue
Copy link
Owner

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.

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

No branches or pull requests

1 participant