Skip to content

Commit a057170

Browse files
committed
chore: automatically generate demo gifs
1 parent 31a38dc commit a057170

17 files changed

Lines changed: 1246 additions & 40 deletions

assets/auth-login.gif

50.5 KB
Loading

assets/auth-login.tape

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Output assets/auth-login.gif
2+
Set Shell "bash"
3+
Set FontSize 14
4+
Set Width 900
5+
Set Height 300
6+
Set Theme "Catppuccin Mocha"
7+
Set Padding 20
8+
9+
Type "stl auth login"
10+
Sleep 500ms
11+
Enter
12+
Sleep 2s
13+
14+
# Accept "Open browser?" confirm
15+
Enter
16+
Sleep 3s
17+
18+
Sleep 1s

assets/build:diagnostics-list.gif

125 KB
Loading
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Output "assets/builds-diagnostics-list.gif"
2+
Set Shell "bash"
3+
Set FontSize 14
4+
Set Width 1200
5+
Set Height 600
6+
Set Theme "Catppuccin Mocha"
7+
Set Padding 20
8+
9+
Type "stl builds:diagnostics list --build-id bui_0cmmtsksxj000425s640c55yf1"
10+
Sleep 500ms
11+
Enter
12+
Sleep 3s
13+
14+
Sleep 1s

assets/builds-list.gif

95.3 KB
Loading

assets/builds-list.tape

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Output assets/builds-list.gif
2+
Set Shell "bash"
3+
Set FontSize 14
4+
Set Width 1200
5+
Set Height 800
6+
Set Theme "Catppuccin Mocha"
7+
Set Padding 20
8+
9+
Type "stl builds list --project acme-api --max-items 3"
10+
Sleep 500ms
11+
Enter
12+
Sleep 3s
13+
14+
Sleep 1s

assets/demo.gif

784 KB
Loading

assets/demo.tape

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
Output assets/demo.gif
2+
Set Shell "bash"
3+
Set FontSize 14
4+
Set Width 1200
5+
Set Height 800
6+
Set Theme "Catppuccin Mocha"
7+
Set Padding 20
8+
9+
# Init
10+
Type "stl init"
11+
Sleep 500ms
12+
Enter
13+
Sleep 2s
14+
15+
# Accept "Open browser?" confirm
16+
Enter
17+
Sleep 3s
18+
19+
20+
# Select project: Down to "acme-api", then Enter
21+
Down
22+
Sleep 300ms
23+
Enter
24+
Sleep 2s
25+
26+
# Accept openapi spec path default
27+
Enter
28+
Sleep 1s
29+
30+
# Accept stainless config path default
31+
Enter
32+
Sleep 2s
33+
34+
# Accept target output paths (one Enter per target)
35+
Enter
36+
Sleep 500ms
37+
Enter
38+
Sleep 500ms
39+
Enter
40+
Sleep 8s
41+
42+
# Preview
43+
Type "stl preview"
44+
Sleep 500ms
45+
Enter
46+
Sleep 15s
47+
Ctrl+C
48+
Sleep 1s

assets/preview.gif

115 KB
Loading

assets/preview.tape

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Output assets/preview.gif
2+
Set Shell "bash"
3+
Set FontSize 14
4+
Set Width 1200
5+
Set Height 600
6+
Set Theme "Catppuccin Mocha"
7+
Set Padding 20
8+
9+
Hide
10+
Type "stl preview --project acme-api --oas ./openapi.yml --config ./stainless.yml"
11+
Show
12+
Sleep 1.5s
13+
Enter
14+
Sleep 15s
15+
Ctrl+C
16+
Sleep 1s

0 commit comments

Comments
 (0)