Skip to content

mxr search

Generated from mxr search --help. Edit the clap definitions in crates/daemon/src/cli/ and re-run npm run build in site/ to regenerate.

Search messages

mxr search [OPTIONS] [QUERY]
FlagDescription
[QUERY]
FlagDescription
--format <FORMAT>[possible values: table, json, jsonl, csv, ids]
--limit <LIMIT>[default: 50]
--mode <MODE>[possible values: lexical, hybrid, semantic]
--sort <SORT>[possible values: date, relevance]
--explain
-h, --helpPrint help

Find messages fast, then pipe IDs or JSON into the next step.

Terminal window
mxr search 'from:alice is:unread' --format json
mxr search 'has:attachment subject:invoice' --format ids | mxr label receipts --dry-run