Skip to main content

mr series edit

Edit a series. --name is required on every call; --meta is optional and takes a JSON string merged into the series meta. The slug is derived from the original name at creation time and is not updated by this command, so changing the name here leaves the slug untouched.

Usage

mr series edit <id>

Positional arguments:

  • <id>

Examples

Rename a series and set meta in one call

mr series edit 42 --name "volume-1-final" --meta '{"season":"fall"}'

Rename only (meta unchanged)

mr series edit 42 --name "renamed"

Flags

FlagTypeDefaultDescription
--namestring``Series name (required) (required)
--metastring``Series metadata as JSON

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