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

Documents #117

Open
maxisam opened this issue Jan 31, 2022 · 0 comments
Open

Documents #117

maxisam opened this issue Jan 31, 2022 · 0 comments

Comments

@maxisam
Copy link
Contributor

maxisam commented Jan 31, 2022

Thanks for the great tool!

Could you document more on the files.all option and output option?

Both of them are not very clear from the test case.

Here is what I got.

  1. output.labels as an array of labels. (This one is pretty simple)

  2. files.all

it will match all glob expressions in the array. The behavior is like "and", while any is like "or".

Also it seems like the expression doesn't work correctly with !(xxx|zzz)/**

But it seems like it should work according to https://github.com/isaacs/minimatch

PS: if there is a way to pass the option of minimatch, that will be awesome!

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