Skip to content

Commands

Complete reference for all uc-apx commands. Use --app-dir to point at your exported APEX application.

CommandDescription
uc-apx overviewShow a high-level summary of the exported APEX application: application name, mmdVersion, page count, file count, and component counts grouped by kind.
uc-apx pagesList every page in the exported APEX application with its ID, name, alias, title, source file, and component count. Use —page-group or —ungrouped to restrict the listing to a single page group or to pages with no group.
uc-apx page-groupsList every page group defined in the application along with the pages assigned to each, plus an ‘ungrouped’ bucket for pages that belong to no group. A group defined with zero member pages is flagged with ‘empty’: true; a page that references a group not defined in page-groups.apx surfaces as a ‘phantom’: true group (a broken reference worth fixing).
uc-apx pageShow a specific page’s properties and its components (regions, items, buttons, processes, …). Accepts the page number, alias, or name. By default each component is listed as a summary with a descendant count; pass —detail for the full recursive property tree of every component.
uc-apx treePrint a tree view of a page’s component hierarchy (kind + name only). Without arguments, shows the top-level structure of the entire app.
uc-apx searchFree-text search across names, IDs, SQL, and PL/SQL — with kind filtering and grouped summaries
uc-apx lovShow a LOV’s definition and entries plus a count of where it is used. By default the usage sites (usedBy) are omitted; pass —detail to include them.
uc-apx refsFind 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 componentShow 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 listList all components of a specific kind (e.g., authorization, breadcrumb, list, lov, appItem). Use ‘uc-apx list’ without arguments to see all available kinds and their counts. The —page-group / —ungrouped filters apply only to ‘list page’.
uc-apx depsShow 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 auth schemesList authorization schemes with their usage
uc-apx auth usageList every construct that carries an authorizationScheme
uc-apx auth auditReport unused schemes and unprotected pages
uc-apx schemaDatabase objects (tables, views, packages, …) the app uses, extracted statically from its SQL/PL-SQL
uc-apx shapeObserved properties for a component kind (no flags), or an APEXlang reference template (—type / —list-types)
CommandDescription
uc-apx validateStructural checks (local) and full MMD-schema validation (—official via SQLcl)
uc-apx versionPrint uc-apx version, Go version, and supported mmdVersion
uc-apx slotsResolves the page’s appearance.pageTemplate and returns the per-template slot allowlist (from cmd/template_slots.go) plus the slots actually in use on the page. LLM agents picking a --slot for create region <kind> should call this first; the local validator’s invalidSlot check uses the same data.
uc-apx templateBare 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.
CommandDescription
uc-apx skills syncDownload and install uc-apx skills for your coding agent
uc-apx skills listList available skills from the public repo, or show already-installed skills
CommandDescription
uc-apx create pageCreate a new apexlang page of the given —type. Writes to pages/pNNNNN-<slug>.apx by default.
uc-apx create appCreate a new APEXlang application directory pre-populated with a minimal
uc-apx create regionInsert a new region into an existing page’s .apx file.
uc-apx create region formInsert a new form region into the target page. The region is bound to
uc-apx create region classic-reportInsert a new classic-report region backed by an inline SQL query.
uc-apx create region interactive-reportInsert a new interactiveReport region backed by an inline SQL query.
uc-apx create region interactive-gridInsert a new interactiveGrid region. Source can be a local-database
uc-apx create region cardsInsert a new cards region. Source can be a local-database table
uc-apx create region chartInsert a new chart region with one or more SQL-backed series.
uc-apx create region faceted-searchInsert a paired facetedSearch + classicReport region into the target page.
uc-apx create region static-contentInsert a new static-content region into the target page. The region’s
uc-apx create region avatarInsert a themeTemplateComponent/avatar region backed by an inline SQL
uc-apx create region commentsInsert a themeTemplateComponent/comments region backed by an inline
uc-apx create region content-rowInsert a themeTemplateComponent/contentRow region backed by an inline
uc-apx create region timelineInsert a themeTemplateComponent/timeline region backed by an inline
uc-apx create region metric-cardInsert a themeTemplateComponent/metricCard region backed by an inline
uc-apx create region media-listInsert a themeTemplateComponent/mediaList region backed by an inline
uc-apx create region flexbox-containerInsert a themeTemplateComponent/flexboxContainer region — a layout-only
uc-apx create buttonInsert a new button into a page’s existing region.
uc-apx create branchSplice an anonymous branch construct into the page. The branch jumps
uc-apx create page-itemInsert a new pageItem (input field) into a page’s existing region.
uc-apx create page-groupAppend a fresh top-level pageGroup &lt;id&gt; ( name: &lt;Display&gt; ) construct to
uc-apx create processInsert a new process into a page. Today the only supported kind is
uc-apx create process plsqlSplice a process ... type: executeCode source &#123; plsqlCode: ... &#125;
uc-apx create process execute-codeSplice a process ... type: executeCode source &#123; plsqlCode: ... &#125;
uc-apx create process close-dialogSplice a process ... type: closeDialog into a page. Used on modal
uc-apx create process clear-session-stateSplice a process ... type: clearSessionState into a page. Typically
uc-apx create validationSplice a validation construct into a page. The --type flag picks
uc-apx create computationSplice a computation into a page. The computation writes a value into
uc-apx create dynamic-actionInsert a new dynamicAction into a page.
uc-apx create dynamic-action refresh-on-dialog-closeSplice a dynamicAction ... when &#123; event: apexafterclosedialog &#125;
uc-apx create dynamic-action toggleSplice a dynamicAction that pairs native-hide + native-show actions
uc-apx create dynamic-action run-jsSplice a dynamicAction with a single executeJsCode action.
uc-apx create dynamic-action set-valueSplice a dynamicAction with a single setValue action (static source).
uc-apx create dynamic-action execute-plsqlSplice a dynamicAction with a single executeServerSideCode action.
uc-apx create lovAppend a fresh top-level lov construct to
uc-apx create listAppend a fresh top-level list construct to
uc-apx create list-entryInsert a new entry child into an existing list construct.
uc-apx create breadcrumbAppend a fresh top-level breadcrumb construct to
uc-apx create breadcrumb-entryInsert a new entry child into an existing breadcrumb construct.
uc-apx create authorizationAppend a fresh top-level authorization construct to
uc-apx create link-columnRewrite an existing classic-report or interactive-report column from
CommandDescription
uc-apx edit columnEdit an existing column &lt;NAME&gt; ( ... ) inside an interactiveGrid,
uc-apx edit page-itemEdit an existing pageItem &lt;ID&gt; ( ... ) on a page. Common rewrites:
uc-apx edit regionEdit an existing region &lt;ID&gt; ( ... ) on a page without
uc-apx edit authorizationRewrite an existing top-level authorization scheme without rescaffolding it.
uc-apx edit pageEdit a page construct in place. Supports two independent edits (one per invocation):
CommandDescription
uc-apx delete pageDelete the .apx file backing the named page. The ref-safety scan covers
uc-apx delete regionDelete a region construct (and all of its nested children: items, columns,
uc-apx delete page-itemDelete a pageItem construct from the named page’s .apx file. The lookup
uc-apx delete buttonDelete a button construct from the named page’s .apx file. Blocks when
uc-apx delete columnDelete a column &lt;id&gt; ( ... ) child of an interactiveGrid, classicReport,
uc-apx delete branchRemove a branch from a page
uc-apx delete processRemove a process from a page
uc-apx delete validationRemove a validation from a page
uc-apx delete computationRemove a computation from a page
uc-apx delete dynamic-actionRemove a dynamicAction from a page
uc-apx delete lovDelete a top-level lov construct from shared-components/lovs.apx.
uc-apx delete listDelete a top-level list construct from shared-components/lists.apx.
uc-apx delete list-entryDelete an entry child of a list. If the app has exactly one list,
uc-apx delete breadcrumbDelete a top-level breadcrumb construct from
uc-apx delete breadcrumb-entryDelete an entry child of a breadcrumb. If the app has exactly one
uc-apx delete authorizationDelete a top-level authorization construct from
uc-apx delete page-groupDelete a top-level pageGroup construct from page-groups.apx.