uc-apx create list-entry
Insert a new entry child into an existing list construct.
Exactly one of —page or —url must be supplied. With —parent <id>
the entry nests under the named sibling via layout.parentEntry.
If the app has exactly one list, —list defaults to it. Otherwise pass —list <id> explicitly.
uc-apx create list-entry [flags]| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run | Print the rendered entry to stdout without writing | ||
--icon | string | Icon CSS classes (e.g. fa-users); emits an icon { imageIconCssClasses } block | |
--id | string | Override the entry id (default: kebab-slug of —label) | |
--label | string | Visible label (e.g. “Customers”) [required] | |
--list | string | ID of the parent list (default: the app’s only list, if unambiguous) | |
--page | int | Target page number (mutually exclusive with —url) | |
--parent | string | Parent entry id to nest under (rendered as layout.parentEntry: @<id>) | |
--sequence | int | layout.sequence value (default: max existing sibling sequence + 10) | |
--url | string | Target URL (mutually exclusive with —page) |
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 |