-
-
Notifications
You must be signed in to change notification settings - Fork 339
Expand file tree
/
Copy pathshortcut_default.tape
More file actions
80 lines (63 loc) · 1.18 KB
/
shortcut_default.tape
File metadata and controls
80 lines (63 loc) · 1.18 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
Output cli_interactive/shortcut_default.gif
Source shared/base.tape
Source shared/git_init.tape
Type "git checkout -b awesome-docs"
Enter
Sleep 500ms
# Initialize commitizen config with shortcuts enabled
Type `cat > pyproject.toml << 'EOF'`
Enter
Type `[tool.commitizen]`
Enter
Type `name = "cz_conventional_commits"`
Enter
Type `use_shortcuts = true`
Enter
Type "EOF"
Enter
Sleep 300ms
# Create a dummy file to commit
Type "echo 'test content' > README.md"
Enter
Sleep 300ms
Type "git add README.md"
Enter
Sleep 300ms
# Clear the screen to start fresh
Type "clear"
Enter
Sleep 500ms
# Show commands from here
Show
# Now run cz commit
Type "cz commit"
Sleep 500ms
Enter
# Wait for first prompt to appear
Sleep 2s
# Question 1: Select the type of change (press d to "docs")
Sleep 1s
Type "d"
Sleep 2s
Enter
Sleep 1s
# Question 2: Scope (optional, skip)
Enter
Sleep 1s
# Question 3: Subject
Type "demo with custom keys"
Sleep 500ms
Enter
Sleep 500ms
# Question 4: Is this a BREAKING CHANGE? (No)
Enter
Sleep 500ms
# Question 5: Body (optional, skip)
Enter
Sleep 500ms
# Question 6: Footer (optional, skip)
Enter
Sleep 500ms
# Wait for commit success message
Sleep 1s
Source shared/cleanup.tape