Overview
Thedex update command opens an interactive TUI (Text User Interface) wizard to edit an existing entry. It allows you to modify entry metadata, recording index references, and regenerate the HTML output.
Usage
Requirements
Features
- Rehydrate existing entry data into editable form
- Edit all entry fields interactively
- Import recording index from source URL
- Preview changes before saving
- Regenerate
entries/<slug>/index.htmlwith updated data
Workflow Stages
1. Entry Selection
The wizard starts by displaying a list of existing entries to choose from.2. Checklist Stage
- Review which sections need updating
- Toggle sections with
Space - Press
Enterto continue to edit stage - Press
Escto go back
3. Edit Stage
Modify entry fields:- Type or paste to edit current field
- Use
Up/Downarrows to switch between fields - Press
Ctrl+Ito import recording index from source URL - Press
Enterto continue to review stage - Press
Escto return to checklist
4. Review Stage
- Review all changes before committing
- Press
Ctrl+Sto save and regenerate HTML - Press
Escto go back and make more edits
Keybindings
Global
Enter- Next step or confirmEsc- Previous step or cancelCtrl+Q- Quit Dex
Checklist Stage
Space- Toggle section selectionUp/Down- Navigate sections
Edit Stage
Up/Down- Switch between fieldsCtrl+I- Import recording index from source URLEnter- Continue to review
Review Stage
Ctrl+S- Save and regenerate HTMLEsc- Go back to edit
Recording Index Import
The update wizard supports importing recording index metadata from a source URL:- Navigate to the recording index field
- Press
Ctrl+Ito enter import mode - Paste the source URL
- The wizard will fetch and parse the recording index data
- Extracted references are automatically populated
What Gets Updated
When you save changes, the following files are updated:entries/<slug>/entry.json- Updated entry metadataentries/<slug>/index.html- Regenerated HTML pageentries/<slug>/description.txt- Updated description (if changed)entries/<slug>/manifest.json- Updated manifest (if changed)
Example Session
Related Commands
dex init
Create a new entry
dex doctor
Scan entries for issues
dex entry audit
Audit entry integrity
dex view
Preview entries locally
Notes
- The update wizard preserves the existing entry structure
- HTML is automatically regenerated to match the canonical template
- Recording index import supports automatic parsing of structured data
- All changes are validated before saving
- The command updates lifecycle timestamps automatically