Skip to main content

mr note edit-name

Update only the name of an existing note. Takes two positional arguments: the note ID and the new name. Use this when renaming is the only change; for multi-field edits, prefer a single request via the server API.

Usage

mr note edit-name <id> <new-name>

Positional arguments:

  • <id>
  • <new-name>

Examples

Rename note 42

mr note edit-name 42 "renamed title"

Rename and confirm with a follow-up get

mr note edit-name 42 "final draft" && mr note get 42 --json | jq -r .Name

Flags

This command has no local flags.

Inherited global flags

FlagTypeDefaultDescription
--jsonboolfalseOutput raw JSON
--no-headerboolfalseOmit table headers
--pageint1Page number for list commands (default page size: 50)
--quietboolfalseOnly output IDs
--serverstringhttp://localhost:8181mahresources server URL (env: MAHRESOURCES_URL)

Exit Codes

0 on success; 1 on any error

See Also