-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdemo.tape
More file actions
98 lines (85 loc) · 3.29 KB
/
Copy pathdemo.tape
File metadata and controls
98 lines (85 loc) · 3.29 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
# =============================================================================
# claude-repath v1.0.0 — TUI wizard demo (Linux render)
#
# Tool: https://github.com/charmbracelet/vhs
# Reqs: vhs 0.11+, ttyd 1.7+, ffmpeg 4+, claude-repath (via pipx/pip --user)
# Regen: bash setup-demo.sh && vhs demo.tape
# Outputs: demo.gif (README embed) + demo.mp4 (social / blog)
#
# Why Linux-shaped paths? vhs runs best on Linux (Windows has no native ttyd).
# The CLI itself supports Windows paths first-class — see README for examples.
#
# v1.0.0 highlights on display (move wizard — core use case):
# * grayscale REPATH ASCII banner at splash
# * wizard-step icons (📋 / 📍 / 🚀)
# * Step-1a status-filter menu (active / orphan / empty / unknown / all)
# * 4-state picker with 🟢 / 🔴 / ⚪ / ❓ icons + legend bar
# * single-confirmation flow: Step 2 returns straight to Step 3's
# Proceed menu (no more double "Confirm the new location?" prompt)
# * explicit stage markers during migration: "● Moving project folder",
# "● Rewiring Claude Code state" — replaces the silent-spinner look
#
# v1.0.0 also ships interactive pickers for `rollback` / `doctor` and
# `--install-completion` — not shown here to keep the splash demo tight;
# see README "Other commands" for those flows.
# =============================================================================
Output demo.gif
Output demo.mp4
# ---- Visuals ---------------------------------------------------------------
Set FontSize 14
Set Width 1280
Set Height 720
Set Padding 20
Set Theme "Dracula"
Set TypingSpeed 55ms
Set CursorBlink true
Set WindowBar Colorful
Set WindowBarSize 40
# ---- Fresh mock state (hidden setup) ---------------------------------------
Hide
Type 'export PATH="$HOME/.local/bin:$PATH"'
Enter
Type "bash setup-demo.sh"
Enter
Sleep 1500ms
Type "clear"
Enter
Show
# ---- Intro comment ---------------------------------------------------------
Type "# claude-repath v1.0 — relocate Claude Code projects without losing state"
Sleep 2s
Ctrl+U
# ---- Launch the interactive wizard -----------------------------------------
Type "claude-repath move"
Enter
# Give viewers time to read the REPATH banner + legend
Sleep 4s
# ---- Step 1a: status filter (default cursor lands on "active") -------------
Sleep 1s
Enter
Sleep 1500ms
# ---- Step 1b: pick project (default highlight = top active entry) ----------
Enter
Sleep 2s
# ---- Step 2: parent directory ----------------------------------------------
# Ctrl+U wipes questionary's pre-filled default, otherwise Type appends.
Ctrl+U
Type "/tmp/archive/"
Sleep 800ms
Enter
# ---- Step 2: project name (accept default) ---------------------------------
Sleep 600ms
Enter
# ---- Prompt: "Parent doesn't exist — create on apply?" (default Y) ---------
Sleep 600ms
Enter
# ---- Step 3: Migration Preview (let viewers read the per-layer counts) -----
# No separate "Confirm the new location?" menu in v1.0 — name input flows
# straight into Step 3. The Proceed menu cursor defaults to "Yes, proceed".
Sleep 5s
Enter
# ---- Watch stage markers ("● Moving..." / "● Rewiring...") + summary -------
Sleep 5s
# ---- Outro -----------------------------------------------------------------
Type "# Done — folder moved, ~/.claude/projects/ renamed, session jsonls rewired"
Sleep 3s