mirror of
https://github.com/ivabus/pop
synced 2024-12-04 14:05:09 +03:00
feat: example tapes
This commit is contained in:
parent
10c7b1d96a
commit
d52645ac30
5 changed files with 90 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
*.gif
|
||||
*.pdf
|
10
examples/contacts.txt
Normal file
10
examples/contacts.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
ayman@charm.sh
|
||||
bash@charm.sh
|
||||
carlos@charm.sh
|
||||
christian@charm.sh
|
||||
jz@charm.sh
|
||||
maas@charm.sh
|
||||
muesli@charm.sh
|
||||
pop@charm.sh
|
||||
toby@charm.sh
|
||||
vt100@charm.sh
|
30
examples/gum-example.tape
Normal file
30
examples/gum-example.tape
Normal file
|
@ -0,0 +1,30 @@
|
|||
Output gum-example.gif
|
||||
Set Framerate 30
|
||||
Set FontSize 28
|
||||
Set Padding 40
|
||||
Set Width 1200
|
||||
Set Height 800
|
||||
|
||||
Hide
|
||||
Type "export RESEND_API_KEY=$(pass RESEND_CHARM_API_KEY)"
|
||||
Enter
|
||||
Sleep 1
|
||||
Ctrl+L
|
||||
Show
|
||||
|
||||
|
||||
Type `pop --from "$(gum choose vt{52,78,100}@charm.sh)" \` Enter
|
||||
Type ` --to "$(gum filter < contacts.txt)"` Enter
|
||||
|
||||
Sleep 1s
|
||||
|
||||
Down@200ms 2
|
||||
Sleep 1s
|
||||
Enter
|
||||
Sleep 1s
|
||||
|
||||
Type "pop"
|
||||
Sleep 1s
|
||||
Enter
|
||||
|
||||
Sleep 5s
|
19
examples/invoice-example.tape
Normal file
19
examples/invoice-example.tape
Normal file
|
@ -0,0 +1,19 @@
|
|||
Output invoice-example.gif
|
||||
Set Framerate 30
|
||||
Set FontSize 28
|
||||
Set Padding 40
|
||||
Set Width 1200
|
||||
Set Height 800
|
||||
|
||||
Hide
|
||||
Type "export RESEND_API_KEY=$(pass RESEND_CHARM_API_KEY)"
|
||||
Enter
|
||||
Sleep 1
|
||||
Ctrl+L
|
||||
Show
|
||||
|
||||
|
||||
Type `invoice generate -i "Rubber Ducky" -r 25 -q 2 -o invoice.pdf` Enter
|
||||
Sleep 1s
|
||||
Type `pop --attach invoice.pdf --body "See attached invoice."` Enter
|
||||
Sleep 5s
|
29
examples/mods-example.tape
Normal file
29
examples/mods-example.tape
Normal file
|
@ -0,0 +1,29 @@
|
|||
Output mods-example.gif
|
||||
Set Framerate 30
|
||||
Set FontSize 28
|
||||
Set Padding 40
|
||||
Set Width 1200
|
||||
Set Height 800
|
||||
|
||||
Hide
|
||||
Type "export RESEND_API_KEY=$(pass RESEND_CHARM_API_KEY)"
|
||||
Enter
|
||||
Sleep 1
|
||||
Type "export OPENAI_API_KEY=$(pass OPENAI_API_KEY)"
|
||||
Enter
|
||||
Sleep 1
|
||||
Ctrl+L
|
||||
Show
|
||||
|
||||
|
||||
Type `pop <<< "$(mods -f 'Explain why CLIs are awesome')" \` Enter
|
||||
Type ` --subject "The command line is the best" \` Enter
|
||||
Type ` --preview` Enter
|
||||
|
||||
Sleep 5s
|
||||
|
||||
Hide
|
||||
Sleep 60s
|
||||
Show
|
||||
|
||||
Sleep 5s
|
Loading…
Reference in a new issue