Skip to content

mxr cat

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

Display a message. Pass a positional ID, pipe IDs on stdin, or resolve a list with --search QUERY (then --first for the most recent match or --limit N for the top N)

mxr cat [OPTIONS] [MESSAGE_ID]
Flag Description
[MESSAGE_ID] Message ID (or omit when piping IDs / using –search)
Flag Description
--search <SEARCH> Resolve target(s) by query instead of a positional ID. Iterates over each match with a separator
--account <ACCOUNT>
--first Only display the most recent match (when –search is used)
--limit <LIMIT> Cap the number of matches displayed (when –search is used)
--view <VIEW> [possible values: reader, raw, html, headers]
--assets
--raw
--html
--format <FORMAT> [possible values: table, json, jsonl, csv, ids]
-h, --help Print help

Read one message body, or resolve a search to the first matching message.

Terminal window
mxr cat MESSAGE_ID --view reader
mxr cat --search 'from:boss is:unread' --first