mxr undo
Generated from
mxr undo --help. After editingcrates/daemon/src/cli/, update and review the snapshots withscripts/cargo-test -p mxr --test integration cli_help::, then rebuildsite/.
Undo a recent destructive mutation by its id (~60s window). The mutation id is printed by archive, trash, spam, mark-read, read-archive and desk done; copy it from there. A job started with --all cannot be undone
mxr undo [OPTIONS] <MUTATION_ID>Arguments
Section titled “Arguments”| Flag | Description |
|---|---|
<MUTATION_ID> |
Options
Section titled “Options”| Flag | Description |
|---|---|
--dry-run |
Show which undo would run without mutating state |
--format <FORMAT> |
[possible values: table, json, jsonl, csv, ids] |
-h, --help |
Print help |
Use When
Section titled “Use When”Preview reversing a mutation using the mutation ID returned by the original operation.
Everyday Examples
Section titled “Everyday Examples”mxr undo MUTATION_ID --dry-run --format jsonSee 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