Skip to main content

mr query edit-description

Update the description of an existing saved query. Passing an empty string clears the description. Description is metadata only and does not affect execution.

Usage

mr query edit-description <id> <value>

Positional arguments:

  • <id>
  • <value>

Examples

Set the description on query 42

mr query edit-description 42 "Counts resources grouped by content type"

Clear the description by passing an empty string

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