mxr label
Generated from
mxr label --help. Edit the clap definitions incrates/daemon/src/cli/and re-runnpm run buildinsite/to regenerate.
Apply a label to a message
mxr label [OPTIONS] <NAME> [MESSAGE_ID]...Arguments
Section titled “Arguments”| Flag | Description |
|---|---|
<NAME> |
Label name |
[MESSAGE_ID] |
… Message ID(s). If omitted, reads IDs from stdin when stdin is piped |
Options
Section titled “Options”| Flag | Description |
|---|---|
--search <SEARCH> |
— |
--account <ACCOUNT> |
— |
--yes |
— |
--dry-run |
— |
--async |
Run as a daemon-side background job and poll with mxr jobs |
--format <FORMAT> |
[possible values: table, json, jsonl, csv, ids] |
-h, --help |
Print help |
Use When
Section titled “Use When”Apply a label/folder to messages, including piped IDs from search.
Everyday Examples
Section titled “Everyday Examples”mxr label receipts MESSAGE_IDmxr search 'from:billing' --format ids | mxr label receipts --yesSee 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