| Crates.io | bwq-lint |
| lib.rs | bwq-lint |
| version | 0.2.0 |
| created_at | 2025-06-25 02:50:39.887582+00 |
| updated_at | 2025-06-25 07:27:22.189626+00 |
| description | A linter and parser for Brandwatch query files (.bwq) |
| homepage | |
| repository | https://github.com/mmstroik/bwq-lint |
| max_upload_size | |
| id | 1725258 |
| size | 228,394 |
brandwatch boolean search query linter written in rust.
cargo install bwq-lint
# lints current directory (recursively) by default
bwq-lint
# auto-detects input type (string, file, dir, glob)
bwq-lint "apple AND juice" # query string
bwq-lint query.bwq # file
bwq-lint tests/fixtures # directory (recursive)
bwq-lint "*.bwq" # glob pattern
# warnings shown by default, use --no-warnings to suppress
bwq-lint --no-warnings
boolean: AND, OR, NOT
proximity: ~, NEAR/x, NEAR/xf
wildcards: *, ?
fields: title:, site:, rating:[1 TO 5]
special: {case}, #hashtag, @mention, <<<comments>>>
run bwq-lint examples for more