Skip to content

uc-apx deps

Show what a component depends on (upstream) and what depends on it (downstream), traversing @-references transitively. Use —depth to limit traversal. When an ID is ambiguous, use —kind to target a specific component type.

uc-apx deps <id> [flags]
FlagTypeDefaultDescription
--depthintMaximum traversal depth (0 = unlimited)
--kindstringFilter the lookup to nodes of this kind (e.g. region, breadcrumb, lov, page)
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
Terminal window
# Show full dependency graph for the 'food-types' LOV
uc-apx deps food-types
# Show what page 1 depends on and what references it
uc-apx deps 1
# Limit traversal to 2 hops
uc-apx deps food-types --depth 2
# Disambiguate when an ID matches multiple kinds
uc-apx deps breadcrumb --kind breadcrumb

Running against examples/brookstrut:

Terminal window
uc-apx --app-dir examples/brookstrut deps 1
id: "1"
name: Home
kind: page
dependsOn[1]{kind,id,name,file,line,property,depth}:
unresolved,/standard,"","",0,appearance.pageTemplate,1
dependedBy[0]:
JSON output
{
"id": "1",
"name": "Home",
"kind": "page",
"dependsOn": [
{
"kind": "unresolved",
"id": "/standard",
"property": "appearance.pageTemplate",
"depth": 1
}
],
"dependedBy": []
}