Skip to content

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]
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

Running against examples/brookstrut:

Terminal window
uc-apx --app-dir examples/brookstrut template /standard
pageId: ""
template: /standard
known: true
allowedSlots[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_08
usedSlots[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"
]
}