-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdemo.tape
More file actions
62 lines (56 loc) · 1.17 KB
/
demo.tape
File metadata and controls
62 lines (56 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# demo.tape
Output demo.gif
# 1. Aesthetics
Set FontSize 16
Set Width 1200
Set Height 600
Set Padding 20
Set FontFamily "Menlo" # Realistic Mac font
Set Theme "Catppuccin Macchiato" # Clean, modern dark theme
Set LineHeight 1.2
Set TypingSpeed 60ms
# 2. Setup (Set env var to keep commands clean)
Type "export DBGRAPH_DB_URL='postgres://postgres:postgres@localhost:5432/dbgraph_test'"
Enter
# Clear screen to start fresh demo
Ctrl+L
Sleep 1s
# 3. Intro & Impact Analysis
Type "# 1. Visualize Dangerous Cascades"
Sleep 500ms
Enter
Type "dbgraph impact users"
Sleep 500ms
Enter
Sleep 3s
# 4. Simulation (Zoom In for detail)
Ctrl+L
Sleep 500ms
Set FontSize 22
Type "# 2. Simulate Breaking Changes (Dry Run)"
Sleep 500ms
Enter
Type "dbgraph simulate --drop-column users.email"
Sleep 500ms
Enter
Sleep 4s
# 5. Trace Performance
Ctrl+L
Type "# 3. Deep Query Tracing"
Sleep 500ms
Enter
# Trace a clean, readable query
Type "dbgraph trace --query 'SELECT * FROM users JOIN orders ON users.id = orders.user_id'"
Sleep 500ms
Enter
Sleep 4s
# 6. Summary & Outro (Zoom Out)
Ctrl+L
Set FontSize 16
Type "# 4. Architectural Overview"
Sleep 500ms
Enter
Type "dbgraph summary"
Sleep 500ms
Enter
Sleep 3s