AdguardTeam / AGLint

Universal adblock filter list linter
https://www.npmjs.com/package/@adguard/aglint
MIT License
51 stars 3 forks source link

Accept glob patterns in the CLI #198

Open scripthunter7 opened 9 months ago

scripthunter7 commented 9 months ago

The CLI currently accepts relative and absolute paths, such as:

$ aglint file1.txt file2.txt subdir/file3.txt D:\work\my-filters\filter.txt

In the future, we can supplement this with glob patterns, such as

$ aglint sections/**

Inspired by https://eslint.org/docs/latest/use/command-line-interface#run-the-cli