Meridian handbook
ReferenceCLI

portal

engine-dmo portal: The member portal. Every subcommand, argument and flag.

engine-dmo

This feature is part of the DMO bundle (engine-dmo).

The member portal.

CommandWhat it does
engine-dmo portal checkCheck the project’s portal templates against the portal context
engine-dmo portal scaffoldCopy the reference portal into the project to be restyled
engine-dmo portal statusWhat each site’s portal is serving and which templates the project overrides

engine-dmo portal check

Check the project’s portal templates against the portal context.

engine-dmo portal check

--json prints the text output in the JSON envelope. Runs in a project.

engine-dmo portal scaffold

Copy the reference portal into the project to be restyled.

engine-dmo portal scaffold [flags]
FlagTypeDefaultMeaning
--forcebooloverwrite a template that is already there
--outstringwhere to write, relative to the project (default templates/portal)
--sitestringwrite to the site’s portal directory, templates/<root>/<template_dir>: the site’s first template root and its portal template directory

--json prints the text output in the JSON envelope. Runs in a project.

Pass --site

With no flag, portal scaffold writes to templates/portal/, which is on no site’s template chain: nothing there renders, and check warns about the folder. Run it with --site <key> so the files land where that site’s portal reads them, such as templates/main/portal/ for the site main, whose first template root is main.

engine-dmo portal status

What each site’s portal is serving and which templates the project overrides.

engine-dmo portal status

--json prints the command’s own JSON document. Runs in a project.