mxr search
Generated from
mxr search --help. Edit the clap definitions incrates/daemon/src/cli/and re-runnpm run buildinsite/to regenerate.
Search messages
mxr search [OPTIONS] [QUERY]Arguments
Section titled “Arguments”| Flag | Description |
|---|---|
[QUERY] | — |
Options
Section titled “Options”| Flag | Description |
|---|---|
--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, --help | Print help |
Use When
Section titled “Use When”Find messages fast, then pipe IDs or JSON into the next step.
Everyday Examples
Section titled “Everyday Examples”mxr search 'from:alice is:unread' --format jsonmxr search 'has:attachment subject:invoice' --format ids | mxr label receipts --dry-runSee also
Section titled “See also”- CLI overview — full command index
- Concepts — query operators, search modes, JSON shapes
- Automation contract — which commands support
--format json,--dry-run, stdin