# Run interactive demo
go run ./demo/cmd run
# Run specific scenario
go run ./demo/cmd run --scenario go-query
# List available scenarios
go run ./demo/cmd list
Demo Scenarios
go-query: Query functions with 'User' pattern
php-replace: Replace updateEmail method
js-insert: Insert validation function
ts-delete: Delete deprecated function
How it Works
Backup: Creates temporary backup of all sample files
Transform: Applies real morfx transformations to actual files
Display: Shows before/after diffs with syntax highlighting
Restore: Automatically restores original files
Repeat: Ready for next demonstration
The demo uses the morfx tools available in this project to perform actual AST transformations on real code files, providing a realistic demonstration of the system's capabilities.