uc-apx component
Show any component — LOV, region, authorization scheme, breadcrumb, list, or any other kind — by its ID or name. By default it shows the component’s own properties plus its immediate children as summaries (with a descendant count); pass —detail for the full recursive property tree. When an ID matches multiple nodes across kinds, a note is printed to stderr. Use —kind to disambiguate.
uc-apx component <id> [flags]| Flag | Type | Default | Description |
|---|---|---|---|
--detail | Include the full recursive property tree instead of just the immediate children | ||
--kind | string | Filter the lookup to nodes of this kind (e.g. region, breadcrumb, lov, page) |
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 |
Examples (from help)
Section titled “Examples (from help)”# Look up a LOV by its ID uc-apx component food-types
# Look up a shared breadcrumb by name uc-apx component "breadcrumb"
# Disambiguate when an ID matches multiple kinds uc-apx component breadcrumb --kind breadcrumb
# Look up a region by name uc-apx component "Application Actions" --kind regionExample Output
Section titled “Example Output”Running against examples/brookstrut:
uc-apx --app-dir examples/brookstrut component food-typeskind: lovid: food-typesname: FOOD TYPEStype: ""file: shared-components/lovs.apxline: 62properties: name: FOOD TYPES source.location: staticValueschildren[5]{kind,id,name,type,file,line}: entry,drink,"","",shared-components/lovs.apx,68 entry,food,"","",shared-components/lovs.apx,74 entry,miscellaneous,"","",shared-components/lovs.apx,80 entry,snacks,"","",shared-components/lovs.apx,86 entry,soap,"","",shared-components/lovs.apx,92JSON output
{ "kind": "lov", "id": "food-types", "name": "FOOD TYPES", "file": "shared-components/lovs.apx", "line": 62, "properties": { "name": "FOOD TYPES", "source.location": "staticValues" }, "children": [ { "kind": "entry", "id": "drink", "file": "shared-components/lovs.apx", "line": 68 }, { "kind": "entry", "id": "food", "file": "shared-components/lovs.apx", "line": 74 }, { "kind": "entry", "id": "miscellaneous", "file": "shared-components/lovs.apx", "line": 80 }, { "kind": "entry", "id": "snacks", "file": "shared-components/lovs.apx", "line": 86 }, { "kind": "entry", "id": "soap", "file": "shared-components/lovs.apx", "line": 92 } ]}