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: @<id>
(lowercase kebab/camel by convention, e.g. data-generation). Assign pages
to it afterwards with uc-apx edit page --page <ref> --page-group <id>.
uc-apx create page-group <id> [flags]| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run | Print the rendered construct to stdout without writing | ||
--name | string | Display name of the page group (e.g. “Reporting”) [required] |
Global Flags
Section titled “Global Flags”| Flag | Type | Default | Description |
|---|---|---|---|
--app-dir | string | . | Path to the APEX application directory |
--json-pretty | Output in pretty-printed JSON (human-readable) instead of minified JSON | ||
--toon | Output in TOON format (human-readable, token-efficient) instead of JSON |
Examples (from help)
Section titled “Examples (from help)”uc-apx create page-group reporting --name "Reporting" uc-apx create page-group data-generation --name "Data Generation"