Skip to main content

mr admin settings get

Show a single runtime setting by key. The output includes the effective current value, the boot-time default, whether an override is active, and when it was last changed.

Pass --json to emit the raw JSON object for scripting.

Usage

mr admin settings get <key>

Positional arguments:

  • <key>

Examples

Show max_upload_size in table form

mr admin settings get max_upload_size

Get as JSON and extract the current value

mr admin settings get max_upload_size --json | jq -r .current

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

Single setting object with key, label, group, type, current, bootDefault, overridden, updatedAt, reason

Exit Codes

0 on success; 1 on unknown key or error

See Also