mxr rules
Generated from
mxr rules --help. Edit the clap definitions incrates/daemon/src/cli/and re-runnpm run buildinsite/to regenerate.
Manage rules
mxr rules [OPTIONS] [COMMAND]Subcommands
Section titled “Subcommands”| Subcommand | Purpose |
|---|---|
help | Print this message or the help of the given subcommand(s) |
Options
Section titled “Options”| Flag | Description |
|---|---|
--format <FORMAT> | [possible values: table, json, jsonl, csv, ids] |
-h, --help | Print help |
Use When
Section titled “Use When”Create deterministic filing/mutation rules and dry-run them before enabling.
Everyday Examples
Section titled “Everyday Examples”mxr rules validate --when 'from:billing' --then 'label:receipts'mxr rules dry-run --all --after 2026-01-01Sub-subcommands
Section titled “Sub-subcommands”mxr rules add
Section titled “mxr rules add”mxr rules add [OPTIONS] --when <CONDITION> --then <ACTION> <NAME>Arguments
Section titled “Arguments”| Flag | Description |
|---|---|
<NAME> | — |
Options
Section titled “Options”| Flag | Description |
|---|---|
--when <CONDITION> | — |
--then <ACTION> | — |
--priority <PRIORITY> | [default: 100] |
-h, --help | Print help |
mxr rules delete
Section titled “mxr rules delete”mxr rules delete <RULE>Arguments
Section titled “Arguments”| Flag | Description |
|---|---|
<RULE> | — |
Options
Section titled “Options”| Flag | Description |
|---|---|
-h, --help | Print help |
mxr rules disable
Section titled “mxr rules disable”mxr rules disable <RULE>Arguments
Section titled “Arguments”| Flag | Description |
|---|---|
<RULE> | — |
Options
Section titled “Options”| Flag | Description |
|---|---|
-h, --help | Print help |
mxr rules dry-run
Section titled “mxr rules dry-run”mxr rules dry-run [OPTIONS] [RULE]Arguments
Section titled “Arguments”| Flag | Description |
|---|---|
[RULE] | — |
Options
Section titled “Options”| Flag | Description |
|---|---|
--all | — |
--after <AFTER> | — |
-h, --help | Print help |
mxr rules edit
Section titled “mxr rules edit”mxr rules edit [OPTIONS] <RULE>Arguments
Section titled “Arguments”| Flag | Description |
|---|---|
<RULE> | — |
Options
Section titled “Options”| Flag | Description |
|---|---|
--name <NAME> | — |
--when <CONDITION> | — |
--then <ACTION> | — |
--priority <PRIORITY> | — |
--enable | — |
--disable | — |
-h, --help | Print help |
mxr rules enable
Section titled “mxr rules enable”mxr rules enable <RULE>Arguments
Section titled “Arguments”| Flag | Description |
|---|---|
<RULE> | — |
Options
Section titled “Options”| Flag | Description |
|---|---|
-h, --help | Print help |
mxr rules history
Section titled “mxr rules history”mxr rules history [OPTIONS] [RULE]Arguments
Section titled “Arguments”| Flag | Description |
|---|---|
[RULE] | — |
Options
Section titled “Options”| Flag | Description |
|---|---|
--limit <LIMIT> | [default: 50] |
-h, --help | Print help |
mxr rules list
Section titled “mxr rules list”mxr rules listOptions
Section titled “Options”| Flag | Description |
|---|---|
-h, --help | Print help |
mxr rules show
Section titled “mxr rules show”mxr rules show <RULE>Arguments
Section titled “Arguments”| Flag | Description |
|---|---|
<RULE> | — |
Options
Section titled “Options”| Flag | Description |
|---|---|
-h, --help | Print help |
mxr rules validate
Section titled “mxr rules validate”mxr rules validate --when <CONDITION> --then <ACTION>Options
Section titled “Options”| Flag | Description |
|---|---|
--when <CONDITION> | — |
--then <ACTION> | — |
-h, --help | Print help |
See 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