Skip to main content

mr resources meta-keys

List every distinct meta key observed across the entire Resource corpus. Useful for discovering the vocabulary of an evolving meta schema. The command has no filter flags in the current CLI; pair it with client-side jq filtering if you only want a subset of keys.

Usage

mr resources meta-keys

Examples

List all meta keys

mr resources meta-keys

Filter client-side with jq

mr resources meta-keys --json | jq '.[] | select(startswith("image_"))'

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)

Output

Array of distinct meta key strings across the entire resource corpus

Exit Codes

0 on success; 1 on any error

See Also