uc-apx template
Bare per-template slot lookup. Pass the template ref without the leading @ (so /standard, /login, etc.). Without an argument, lists every template on uc-apx’s allowlist.
uc-apx template <template-ref> [flags]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 |
Example Output
Section titled “Example Output”Running against examples/brookstrut:
uc-apx --app-dir examples/brookstrut template /standardpageId: ""template: /standardknown: trueallowedSlots[20]: body,breadcrumbBar,fullWidthContent,footer,afterLogo,topNavigation,dialogsDrawersAndPopups,afterNavigationBar,beforeNavigationBar,banner,afterHeader,beforeFooter,REGION_POSITION_01,REGION_POSITION_02,REGION_POSITION_03,REGION_POSITION_04,REGION_POSITION_05,REGION_POSITION_06,REGION_POSITION_07,REGION_POSITION_08usedSlots[0]:note: ""JSON output
{ "template": "/standard", "known": true, "allowedSlots": [ "body", "breadcrumbBar", "fullWidthContent", "footer", "afterLogo", "topNavigation", "dialogsDrawersAndPopups", "afterNavigationBar", "beforeNavigationBar", "banner", "afterHeader", "beforeFooter", "REGION_POSITION_01", "REGION_POSITION_02", "REGION_POSITION_03", "REGION_POSITION_04", "REGION_POSITION_05", "REGION_POSITION_06", "REGION_POSITION_07", "REGION_POSITION_08" ]}