Skip to content

mxr export

Generated from mxr export --help. After editing crates/daemon/src/cli/, update and review the snapshots with scripts/cargo-test -p mxr --test integration cli_help::, then rebuild site/.

Export a thread or matching search results

mxr export [OPTIONS] [THREAD_ID]
Flag Description
[THREAD_ID]
Flag Description
--search <SEARCH>
--account <ACCOUNT>
--format <FORMAT> [default: markdown]
--output <OUTPUT>
-h, --help Print help

Turn threads into Markdown/JSON/LLM context.

Terminal window
mxr export THREAD_ID --format markdown
mxr export --search 'from:legal@example.com' --format markdown > legal.md