Skip to content

uc-apx create breadcrumb-entry

Insert a new entry child into an existing breadcrumb construct.

Hand-edited breadcrumb files frequently put parentEntry in the wrong block (layout vs appearance) — this scaffolder always emits the validator-correct shape: appearance { parentEntry: @<id> }.

If the app has exactly one breadcrumb, —breadcrumb defaults to it. Otherwise pass —breadcrumb <id> explicitly.

uc-apx create breadcrumb-entry [flags]
FlagTypeDefaultDescription
--breadcrumbstringID of the parent breadcrumb (default: the app’s only breadcrumb, if unambiguous)
--dry-runPrint the rendered entry to stdout without writing
--idstringOverride the entry id (default: kebab-slug of —label)
--labelstringVisible breadcrumb label (e.g. “Customers”) [required]
--pageintTarget page number this entry links to [required]
--parentstringParent entry id to nest under (rendered as appearance.parentEntry: @<id>); omit for a root entry
--sequenceintexecution.sequence value (default: max existing sibling sequence + 10)
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