Skip to content

mxr attachments

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

Manage message attachments

mxr attachments <COMMAND>
SubcommandPurpose
listList attachments for one message, or for every match of a --search QUERY. Multi-message output prefixes each section with --- MESSAGE_ID ---
downloadDownload attachment(s)
openOpen attachment with system handler
helpPrint this message or the help of the given subcommand(s)
FlagDescription
-h, --helpPrint help

List, open, or download message attachments.

Terminal window
mxr attachments list MESSAGE_ID
mxr attachments download MESSAGE_ID 1 --dir ~/Downloads/mxr

Download attachment(s)

mxr attachments download [OPTIONS] <MESSAGE_ID> [INDEX]
FlagDescription
<MESSAGE_ID>
[INDEX]Attachment index (1-based, omit for all)
FlagDescription
--dir <DIR>Output directory
-h, --helpPrint help

List attachments for one message, or for every match of a --search QUERY. Multi-message output prefixes each section with --- MESSAGE_ID ---

mxr attachments list [OPTIONS] [MESSAGE_ID]
FlagDescription
[MESSAGE_ID]
FlagDescription
--search <SEARCH>
--first
--limit <LIMIT>
--format <FORMAT>[possible values: table, json, jsonl, csv, ids]
-h, --helpPrint help

Open attachment with system handler

mxr attachments open <MESSAGE_ID> <INDEX>
FlagDescription
<MESSAGE_ID>
<INDEX>Attachment index (1-based)
FlagDescription
-h, --helpPrint help