Skip to content

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]
FlagTypeDefaultDescription
--dry-runPrint the rendered entry to stdout without writing
--iconstringIcon CSS classes (e.g. fa-users); emits an icon { imageIconCssClasses } block
--idstringOverride the entry id (default: kebab-slug of —label)
--labelstringVisible label (e.g. “Customers”) [required]
--liststringID of the parent list (default: the app’s only list, if unambiguous)
--pageintTarget page number (mutually exclusive with —url)
--parentstringParent entry id to nest under (rendered as layout.parentEntry: @<id>)
--sequenceintlayout.sequence value (default: max existing sibling sequence + 10)
--urlstringTarget URL (mutually exclusive with —page)
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