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]| Flag | Type | Default | Description |
|---|---|---|---|
--breadcrumb | string | ID of the parent breadcrumb (default: the app’s only breadcrumb, if unambiguous) | |
--dry-run | Print the rendered entry to stdout without writing | ||
--id | string | Override the entry id (default: kebab-slug of —label) | |
--label | string | Visible breadcrumb label (e.g. “Customers”) [required] | |
--page | int | Target page number this entry links to [required] | |
--parent | string | Parent entry id to nest under (rendered as appearance.parentEntry: @<id>); omit for a root entry | |
--sequence | int | execution.sequence value (default: max existing sibling sequence + 10) |
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 |