Skip to main content

mr plugin

Plugins are server-side extensions that register shortcodes, hook into entity lifecycle events, or inject custom UI into the mahresources web interface. Each plugin is identified by a unique name and reports its version, human description, an enabled flag, and an optional settings schema (a list of {name, type, label, default} descriptors the plugin will read at runtime).

Use the plugin subcommands to operate on one plugin at a time by name: enable / disable toggle activation, scoped-access decides whether group-limited users and guests may reach the plugin at all, schedules lists the recurring work the plugin has registered, schedule-run runs one of those straight away, settings writes the plugin's configuration values, and purge-data wipes the plugin's persisted state. Use plugins list to discover the names of installed plugins and inspect their current enablement and stored settings.

Usage​

mr plugin

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​