-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdemo.tape
More file actions
143 lines (127 loc) Β· 3.12 KB
/
demo.tape
File metadata and controls
143 lines (127 loc) Β· 3.12 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
# demo.tape β killpy GIF for README
# Requires: vhs (https://github.com/charmbracelet/vhs)
# Usage: vhs demo.tape
#
# Workflow:
# 1. ./tester.sh setup <- creates fake environments in ./demo_projects/
# 2. vhs demo.tape <- records the GIF
# 3. ./tester.sh cleanup <- cleans up (optional)
Output show.gif
Set Shell "bash"
Set FontSize 13
Set Width 1280
Set Height 720
Set Theme "Dracula"
Set Padding 20
Set TypingSpeed 55ms
Set PlaybackSpeed 0.85
# --- Setup: silent, clean ---
Hide
Type "export HISTFILE=/dev/null && export PS1='$ ' && clear"
Enter
Sleep 300ms
Type "bash tester.sh setup"
Enter
Sleep 4s
Type "clear"
Enter
Sleep 300ms
Show
# -----------------------------------------------------------------------
# SCENE 1 β Launch the TUI
# -----------------------------------------------------------------------
Sleep 600ms
Type "killpy --path ./demo_projects"
Sleep 1s
Enter
# Let the TUI appear and the scan start
Sleep 5s
# -----------------------------------------------------------------------
# SCENE 2 β Explore the table: see HIGH / MED / LOW colors
# -----------------------------------------------------------------------
# Scroll slowly to showcase the color coding
Down
Sleep 350ms
Down
Sleep 350ms
Down
Sleep 350ms
Down
Sleep 350ms
Down
Sleep 500ms
# Go back up to position on a HIGH entry
Up
Sleep 250ms
Up
Sleep 250ms
Up
Sleep 250ms
Up
Sleep 400ms
# -----------------------------------------------------------------------
# SCENE 3 β Filter: search for abandoned environments
# -----------------------------------------------------------------------
Type "/"
Sleep 400ms
Type "abandoned"
Sleep 1.2s
# View filter results
Sleep 800ms
Escape
Sleep 600ms
# -----------------------------------------------------------------------
# SCENE 4 β Filter by "old" to find old projects
# -----------------------------------------------------------------------
Type "/"
Sleep 300ms
Type "old"
Sleep 1s
Sleep 600ms
Escape
Sleep 500ms
# -----------------------------------------------------------------------
# SCENE 5 β Multi-select and bulk delete
# -----------------------------------------------------------------------
# Enable multi-select mode
Type "t"
Sleep 500ms
# Select multiple rows
Space
Sleep 200ms
Down
Sleep 150ms
Space
Sleep 200ms
Down
Sleep 150ms
Space
Sleep 200ms
Down
Sleep 150ms
Space
Sleep 400ms
# Pause to show selected rows before deletion
Sleep 800ms
# Confirm deletion of selected items
Ctrl+D
Sleep 600ms
Enter
Sleep 1.5s
# -----------------------------------------------------------------------
# SCENE 6 β Show freed space (updated status label)
# -----------------------------------------------------------------------
Sleep 1s
# -----------------------------------------------------------------------
# SCENE 7 β Exit
# -----------------------------------------------------------------------
Ctrl+Q
Sleep 400ms
# -----------------------------------------------------------------------
# SCENE 8 β Final stats: the βwowβ moment of freed GBs
# -----------------------------------------------------------------------
Sleep 400ms
Type "killpy stats --path ./demo_projects"
Sleep 800ms
Enter
Sleep 3.5s