Skip to main content

mr resource-category edit-description

Update the description of an existing resource category. Takes two positional arguments: the resource category ID and the new description. Passing an empty string clears the description. Useful for annotating categories used across many resources without renaming them.

Usage

mr resource-category edit-description <id> <new-description>

Positional arguments:

  • <id>
  • <new-description>

Examples

Set a description on resource category 42

mr resource-category edit-description 42 "high-resolution scans"

Clear the description by passing an empty string

mr resource-category edit-description 42 ""

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