mxr compose
Generated from
mxr compose --help. Edit the clap definitions incrates/daemon/src/cli/and re-runnpm run buildinsite/to regenerate.
Compose a new email
mxr compose [OPTIONS]Options
Section titled “Options”| Flag | Description |
|---|---|
--to <TO> | Recipient(s), comma-separated |
--cc <CC> | CC recipient(s) |
--bcc <BCC> | BCC recipient(s) |
--subject <SUBJECT> | Subject line |
--body <BODY> | Message body as string |
--body-stdin | Read message body from stdin |
--attach <ATTACH> | File path to attach (repeatable) |
--from <FROM> | Account name to send from |
--yes | Skip confirmation prompt |
--dry-run | Show what would be sent without sending |
--format <FORMAT> | [possible values: table, json, jsonl, csv, ids] |
-h, --help | Print help |
Use When
Section titled “Use When”Write a new message in $EDITOR or from stdin in scripts.
Everyday Examples
Section titled “Everyday Examples”mxr compose --to alice@example.com --subject 'Friday'printf 'Approved' | mxr compose --to alice@example.com --subject 'Re: plan' --body-stdin --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