mr notes add-tags
Add tag IDs to every Note listed in --ids. Idempotent: adding a tag
that's already attached is a no-op. Both --ids and --tags accept
comma-separated unsigned integer lists and are required.
Usage
mr notes add-tags
Examples
Add tag 5 to notes 1
mr notes add-tags --ids 1,2,3 --tags 5
Add multiple tags at once
mr notes add-tags --ids 1,2,3 --tags 5,6,7
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--ids | string | `` | Comma-separated note IDs (required) (required) |
--tags | string | `` | Comma-separated tag IDs (required) (required) |
Inherited global flags
| Flag | Type | Default | Description |
|---|---|---|---|
--json | bool | false | Output raw JSON |
--no-header | bool | false | Omit table headers |
--page | int | 1 | Page number for list commands (default page size: 50) |
--quiet | bool | false | Only output IDs |
--server | string | http://localhost:8181 | mahresources server URL (env: MAHRESOURCES_URL) |
Exit Codes
0 on success; 1 on any error