Skip to main content

mr resource-category

A ResourceCategory is a taxonomy label attached to Resources. It has a name, optional description, and a range of optional presentation fields (custom header, sidebar, summary, avatar, MRQL result template) plus a MetaSchema and SectionConfig used to shape resource detail pages for resources in this category. Resource categories are distinct from Categories, which label Groups.

Use the resource-category subcommands to operate on a single category by ID: fetch it, create a new one, rename or redescribe it, or delete it. Use resource-categories list to discover categories matching filters.

Usage

mr resource-category

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