uc-apx refs
Find every component in the app that references the given ID via an @-reference. Useful for understanding what uses a shared LOV, list, breadcrumb, or authorization scheme.
uc-apx refs <id> [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 |
Examples (from help)
Section titled “Examples (from help)”# Find all components that reference the 'food-types' LOV uc-apx refs food-types
# Find all components that reference page 1 uc-apx refs 1
# Find references to an authorization scheme uc-apx refs "must-not-be-public-user"Example Output
Section titled “Example Output”Running against examples/brookstrut:
uc-apx --app-dir examples/brookstrut refs food-types[1]{kind,id,name,file,line,referencedIn}: pageItem,P12_ITEM_TYPE,P12_ITEM_TYPE,pages/p00012.apx,140,lov.lovJSON output
[ { "kind": "pageItem", "id": "P12_ITEM_TYPE", "name": "P12_ITEM_TYPE", "file": "pages/p00012.apx", "line": 140, "referencedIn": "lov.lov" }]