Overview
Thedex entry command provides subcommands for auditing entry runtime health, validating inventory, and linking entries to catalog records.
Subcommands
dex entry audit- Audit entry runtime and inventorydex entry link- Link entry to catalog record
dex entry audit
Scans entries for runtime health, download tree integrity, and inventory coverage.
Usage
Flags
Audit a specific entry by slug
Audit all entries (default behavior)
Run inventory check only, skip runtime validationUseful for verifying asset coverage without full audit
Path to entries directory
Include legacy entries in audit (normally skipped)
Path to catalog entries file
Path to catalog editorial file
Path to protected assets file
What Entry Audit Checks
Runtime Validation
- Entry schema compliance
- Sidebar config validity
- Manifest structure
- Lookup token format
- Recording index references
- Video URL/embed validity
Inventory Validation
- Download tree coverage model
- Protected asset mappings
- Bucket file availability
- Recording index PDF/bundle refs
- Asset token correlation
Critical Issues
- Invalid lookup tokens
- Missing recording index references
- Download tree mismatches
- Unresolved token mappings
Modes
Interactive Mode (TTY)
Displays interactive audit screen:- List of inventory rows
- Download tree visualization
- Coverage model for selected entry
- Real-time filtering
- Audit rerun capability
Up/Down- Select inventory rowr- Rerun auditEsc- Back to dashboard- Type to filter slugs
Non-Interactive Mode
Prints audit report to stdout:- Per-entry PASS/FAIL status
- Inventory summary
- Error details
- Exits with non-zero code on failures
Output Example
Single Entry Audit
Failed Audit
Inventory-Only Check
Examples
Audit Single Entry
Audit All Entries
Inventory Coverage Check
Interactive Audit
dex entry link
Links an entry to a catalog record with metadata.
Usage
Required Flags
Entry slug to link
Catalog Identifier Flags
Catalog entry identifier (ID, href, or slug)
Status Flag
Catalog entry statusOptions:
draft, active, archivedMetadata Flags
Lookup number (e.g., “LOOKUP-0042”)
Season identifier (e.g., “S2”, “S3”)
Performer name
Instrument name
Entry title override
File Path Flags
Path to catalog file
Path to catalog entries file
Control Flags
Preview link operation without writing changes
Examples
Link Entry to Catalog
Link with Full Metadata
Dry Run
Canonical Workflows
Workflow 1: Create and Validate New Entry
- Any
FAILin runtime audit - Download tree critical issues
- Unresolved token/lookup mismatches
Workflow 2: Batch Inventory Validation
Workflow 3: Link and Publish Entry
Related Commands
dex init
Create a new entry
dex update
Edit an existing entry
dex doctor
Scan entries for health issues
dex catalog
Catalog operations
Notes
- Entry audit is included in preflight checks before deployment
- Interactive audit mode requires a TTY
- Inventory checks validate protected asset coverage
- Runtime audit validates entry schema and references
- The audit command supports both single-entry and batch operations
- Use
--inventory-onlyfor faster coverage validation without full runtime checks