portal
engine-dmo portal: The member portal. Every subcommand, argument and flag.
engine-dmo
The member portal.
| Command | What it does |
|---|---|
engine-dmo portal check | Check the project’s portal templates against the portal context |
engine-dmo portal scaffold | Copy the reference portal into the project to be restyled |
engine-dmo portal status | What 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] | Flag | Type | Default | Meaning |
|---|---|---|---|
--force | bool | overwrite a template that is already there | |
--out | string | where to write, relative to the project (default templates/portal) | |
--site | string | write 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.