refactor: move tapes to examples

This commit is contained in:
Maas Lalani
2023-07-10 12:36:49 -04:00
parent 21c92e12f0
commit 797397fc5e
2 changed files with 0 additions and 0 deletions

21
examples/cli.tape Normal file
View File

@@ -0,0 +1,21 @@
Output demo.gif
Set Padding 40
Set FontSize 20
Set Width 600
Set Height 400
Hide
Type "export RESEND_API_KEY=$(pass RESEND_CHARM_API_KEY)"
Enter
Sleep 1
Ctrl+L
Show
Type "pop < message.md \" Enter
Type "--from 'pop@charm.sh' \" Enter
Type "--to 'vt100@charm.sh' \" Enter
Type "--subject 'Pop' \" Enter
Type "--attach README.md"
Sleep 0.5
Enter
Sleep 5

56
examples/demo.tape Normal file
View File

@@ -0,0 +1,56 @@
Output demo.gif
Set FontSize 25
Set Padding 50
Set Width 800
Set Height 800
Hide
Type "export RESEND_API_KEY=$(pass RESEND_CHARM_API_KEY)"
Enter
Sleep 1
Ctrl+L
Show
Type "pop"
Enter
Sleep 1
Type "pop@charm.sh"
Sleep 0.5
Tab
Sleep 1
Type "vt100@charm.sh"
Sleep 0.5
Tab
Sleep 1
Type "Pop"
Sleep 0.5
Tab
Sleep 1
Type "# Welcome to Pop."
Sleep 0.5
Enter 2
Sleep 0.5
Type "Send *emails* from the terminal."
Sleep 0.5
Enter 2
Sleep 0.5
Type "Sincerely,"
Sleep 0.5
Enter
Sleep 0.5
Type "Charm_"
Sleep 2
Tab
Sleep 1
Enter
Sleep 1
Escape
Sleep 1
Tab
Sleep 1
Enter
Sleep 5