Skip to content

uc-apx create page-group

Append a fresh top-level pageGroup <id> ( name: <Display> ) construct to page-groups.apx (creating the file if it doesn’t exist).

The <id> is the bare construct id pages reference via pageGroup: @&lt;id&gt; (lowercase kebab/camel by convention, e.g. data-generation). Assign pages to it afterwards with uc-apx edit page --page &lt;ref&gt; --page-group &lt;id&gt;.

uc-apx create page-group <id> [flags]
FlagTypeDefaultDescription
--dry-runPrint the rendered construct to stdout without writing
--namestringDisplay name of the page group (e.g. “Reporting”) [required]
FlagTypeDefaultDescription
--app-dirstring.Path to the APEX application directory
--json-prettyOutput in pretty-printed JSON (human-readable) instead of minified JSON
--toonOutput in TOON format (human-readable, token-efficient) instead of JSON
Terminal window
uc-apx create page-group reporting --name "Reporting"
uc-apx create page-group data-generation --name "Data Generation"