Skip to content

Commit aaa1d58

Browse files
committed
Add vhs tape file to test it
1 parent 6de8a24 commit aaa1d58

2 files changed

Lines changed: 63 additions & 0 deletions

File tree

samples/AdvancedApp/AdvancedApp.csproj

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@
1111
<RootNamespace>AdvancedApp</RootNamespace>
1212
</PropertyGroup>
1313

14+
<ItemGroup>
15+
<None Remove="multi-demo.tape" />
16+
</ItemGroup>
17+
18+
<ItemGroup>
19+
<Content Include="multi-demo.tape">
20+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
21+
</Content>
22+
</ItemGroup>
23+
1424
<ItemGroup>
1525
<ProjectReference Include="..\..\src\XenoAtom.CommandLine\XenoAtom.CommandLine.csproj" />
1626
<ProjectReference Include="..\..\src\XenoAtom.CommandLine.Terminal\XenoAtom.CommandLine.Terminal.csproj" />
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Does not work well on Windows, so you need to run it from Linux / macOS
2+
3+
# Output format (pick one)
4+
Output multi-demo.gif
5+
6+
# Use PowerShell (Windows)
7+
Set Shell pwsh
8+
9+
# Visuals (adjust to taste)
10+
Set FontSize 20
11+
Set Width 1200
12+
Set Height 980
13+
Set TypingSpeed 100ms
14+
#Set WaitTimeout 10s
15+
16+
# 1) .\multi.exe --help
17+
Type "./multi --help"
18+
Enter
19+
Sleep 1s
20+
Type "clear"
21+
Enter
22+
23+
# 2) --markup --help
24+
Type "./multi --markup --help"
25+
Enter
26+
Sleep 1s
27+
Type "clear"
28+
Enter
29+
30+
# 3) --visual --help
31+
Type "./multi --visual --help"
32+
Enter
33+
Sleep 1s
34+
Type "clear"
35+
Enter
36+
37+
# 4) hello ...
38+
Type "./multi hello --name Test --age 10 file1.txt file2.txt"
39+
Enter
40+
Sleep 500ms
41+
Type "clear"
42+
Enter
43+
44+
# 5) invalid options (no clear between them, per your script)
45+
Type "./multi --invalid-option"
46+
Enter
47+
Sleep 200ms
48+
Type "./multi --markup --invalid-option"
49+
Enter
50+
Sleep 200ms
51+
Type "./multi --visual --invalid-option"
52+
Enter
53+
Sleep 500ms

0 commit comments

Comments
 (0)