Skip to content

mxr rules

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

Manage rules

mxr rules [OPTIONS] [COMMAND]
Subcommand Purpose
help Print this message or the help of the given subcommand(s)
Flag Description
--format <FORMAT> [possible values: table, json, jsonl, csv, ids]
-h, --help Print help

Create deterministic filing/mutation rules and dry-run them before enabling.

Terminal window
mxr rules validate --when 'from:billing' --then 'label:receipts'
mxr rules dry-run --all --after 2026-01-01
mxr rules add [OPTIONS] --when <CONDITION> --then <ACTION> <NAME>
Flag Description
<NAME>
Flag Description
--when <CONDITION>
--then <ACTION>
--priority <PRIORITY> [default: 100]
-h, --help Print help
mxr rules delete <RULE>
Flag Description
<RULE>
Flag Description
-h, --help Print help
mxr rules disable <RULE>
Flag Description
<RULE>
Flag Description
-h, --help Print help
mxr rules dry-run [OPTIONS] [RULE]
Flag Description
[RULE]
Flag Description
--all
--after <AFTER>
-h, --help Print help
mxr rules edit [OPTIONS] <RULE>
Flag Description
<RULE>
Flag Description
--name <NAME>
--when <CONDITION>
--then <ACTION>
--priority <PRIORITY>
--enable
--disable
-h, --help Print help
mxr rules enable <RULE>
Flag Description
<RULE>
Flag Description
-h, --help Print help
mxr rules history [OPTIONS] [RULE]
Flag Description
[RULE]
Flag Description
--limit <LIMIT> [default: 50]
-h, --help Print help
mxr rules list
Flag Description
-h, --help Print help
mxr rules show <RULE>
Flag Description
<RULE>
Flag Description
-h, --help Print help
mxr rules validate --when <CONDITION> --then <ACTION>
Flag Description
--when <CONDITION>
--then <ACTION>
-h, --help Print help