Generated from mxr snippets --help. Edit the clap definitions in crates/daemon/src/cli/ and re-run npm run build in site/ to regenerate.
Manage compose snippets (;name expansions)
mxr snippets [OPTIONS] [COMMAND]
| Subcommand | Purpose |
|---|
list | List all snippets (default if no subcommand) |
set | Create or update a snippet inline |
remove | Delete a snippet by name |
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 |
Manage stock reply snippets.
mxr snippets set thanks 'Thanks, will follow up.'
mxr snippets list --format json
List all snippets (default if no subcommand)
| Flag | Description |
|---|
-h, --help | Print help |
Delete a snippet by name
mxr snippets remove <NAME>
| Flag | Description |
|---|
-h, --help | Print help |
Create or update a snippet inline
mxr snippets set [OPTIONS] <NAME> <BODY>
| Flag | Description |
|---|
<NAME> | Short keyword (no spaces). Used after ; in compose |
<BODY> | Snippet body. Use {var_name} for placeholders |
| Flag | Description |
|---|
--vars <VARS> | Comma-separated list of declared {var} placeholders |
-h, --help | Print help |