11Output cli _interactive/shortcut_default.gif
22
3- Require cz
4-
5- # Use bash for cross-platform compatibility (macOS, Linux, Windows)
6- Set Shell bash
7-
8- Set FontSize 16
9- Set Width 878
10- Set Height 568
11- Set Padding 20
12- Set TypingSpeed 50 ms
13-
14- Set Theme {
15- "name" : "Commitizen" ,
16- "black" : "#232628" ,
17- "red" : "#fc4384" ,
18- "green" : "#b3e33b" ,
19- "yellow" : "#ffa727" ,
20- "blue" : "#75dff2" ,
21- "magenta" : "#ae89fe" ,
22- "cyan" : "#708387" ,
23- "white" : "#d5d5d0" ,
24- "brightBlack" : "#626566" ,
25- "brightRed" : "#ff7fac" ,
26- "brightGreen" : "#c8ed71" ,
27- "brightYellow" : "#ebdf86" ,
28- "brightBlue" : "#75dff2" ,
29- "brightMagenta" : "#ae89fe" ,
30- "brightCyan" : "#b1c6ca" ,
31- "brightWhite" : "#f9f9f4" ,
32- "background" : "#1e1e2e" ,
33- "foreground" : "#afafaf" ,
34- "cursor" : "#c7c7c7"
35- }
36-
37- # Hide initial shell prompt
38- Hide
39-
40- # Wait for terminal to be ready
41- Sleep 1 s
42-
43- # Set a clean, simple prompt (while hidden)
44- Type "PS1='$ '"
45- Enter
46- Sleep 300 ms
47-
48- # Create a clean temporary directory for recording
49- Type "rm -rf /tmp/commitizen-example && mkdir -p /tmp/commitizen-example && cd /tmp/commitizen-example"
50- Enter
51- Sleep 500 ms
52-
53- # Initialize git repository
54- Type "git init"
55- Enter
56- Type "git config user.email 'you@example.com'"
57- Enter
58- Type "git config user.name 'Your Name'"
59- Enter
60- Sleep 500 ms
3+ Source shared/base.tape
4+ Source shared/git_init.tape
615
626Type "git checkout -b awesome-docs"
637Enter
@@ -66,16 +10,12 @@ Sleep 500ms
6610# Initialize commitizen config with shortcuts enabled
6711Type `cat > pyproject.toml << 'EOF'`
6812Enter
69- Sleep 100 ms
7013Type `[tool.commitizen]`
7114Enter
72- Sleep 100 ms
7315Type `name = "cz_conventional_commits"`
7416Enter
75- Sleep 100 ms
7617Type `use_shortcuts = true`
7718Enter
78- Sleep 100 ms
7919Type "EOF"
8020Enter
8121Sleep 300 ms
@@ -136,3 +76,5 @@ Sleep 500ms
13676
13777# Wait for commit success message
13878Sleep 1 s
79+
80+ Source shared/cleanup.tape
0 commit comments