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]
SubcommandPurpose
helpPrint this message or the help of the given subcommand(s)
FlagDescription
--format <FORMAT>[possible values: table, json, jsonl, csv, ids]
-h, --helpPrint 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>
FlagDescription
<NAME>
FlagDescription
--when <CONDITION>
--then <ACTION>
--priority <PRIORITY>[default: 100]
-h, --helpPrint help
mxr rules delete <RULE>
FlagDescription
<RULE>
FlagDescription
-h, --helpPrint help
mxr rules disable <RULE>
FlagDescription
<RULE>
FlagDescription
-h, --helpPrint help
mxr rules dry-run [OPTIONS] [RULE]
FlagDescription
[RULE]
FlagDescription
--all
--after <AFTER>
-h, --helpPrint help
mxr rules edit [OPTIONS] <RULE>
FlagDescription
<RULE>
FlagDescription
--name <NAME>
--when <CONDITION>
--then <ACTION>
--priority <PRIORITY>
--enable
--disable
-h, --helpPrint help
mxr rules enable <RULE>
FlagDescription
<RULE>
FlagDescription
-h, --helpPrint help
mxr rules history [OPTIONS] [RULE]
FlagDescription
[RULE]
FlagDescription
--limit <LIMIT>[default: 50]
-h, --helpPrint help
mxr rules list
FlagDescription
-h, --helpPrint help
mxr rules show <RULE>
FlagDescription
<RULE>
FlagDescription
-h, --helpPrint help
mxr rules validate --when <CONDITION> --then <ACTION>
FlagDescription
--when <CONDITION>
--then <ACTION>
-h, --helpPrint help