mxr export
Generated from
mxr export --help. Edit the clap definitions incrates/daemon/src/cli/and re-runnpm run buildinsite/to regenerate.
Export a thread or matching search results
mxr export [OPTIONS] [THREAD_ID]Arguments
Section titled “Arguments”| Flag | Description |
|---|---|
[THREAD_ID] | — |
Options
Section titled “Options”| Flag | Description |
|---|---|
--search <SEARCH> | — |
--format <FORMAT> | [default: markdown] |
--output <OUTPUT> | — |
-h, --help | Print help |
Use When
Section titled “Use When”Turn threads into Markdown/JSON/LLM context.
Everyday Examples
Section titled “Everyday Examples”mxr export THREAD_ID --format markdownmxr export --search 'from:legal' --format markdown > legal.mdSee 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