Skip to main content

mr category

Categories are labels that classify Groups (distinct from ResourceCategory which labels Resources). A Category has a name, optional description, and twelve optional presentation fields (CustomHeader, CustomDetailFooter, CustomSidebar, CustomSummary, CustomPanelSummary, CustomAvatar, CustomHoverCard, CustomOwnEntities, CustomListHeader, CustomListFooter, CustomMRQLResult, CustomCSS). It also carries a MetaSchema JSON that Groups assigned to this category inherit for structured metadata, and a SectionConfig JSON that controls which sections render on their detail pages.

Use the category subcommands to operate on a single Category by ID: fetch it, create a new one, rename or redescribe it, or delete it. Use categories list to discover categories and categories timeline to view creation activity over time.

Usage​

mr 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​